Skip to content

Instantly share code, notes, and snippets.

@bitbrain
Last active August 29, 2015 13:56
Show Gist options
  • Save bitbrain/8904502 to your computer and use it in GitHub Desktop.
Save bitbrain/8904502 to your computer and use it in GitHub Desktop.
Rect<float> Screen = Rect<float>(Vec2F(0, 0), Vec2F(500, 500));
Vec2F vec2F(501.0f, 1.0f);
std::cout << Screen.isInside(vec2F) << std::endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment