Skip to content

Instantly share code, notes, and snippets.

@macalinao
Created December 28, 2011 20:32
Show Gist options
  • Save macalinao/1529596 to your computer and use it in GitHub Desktop.
Save macalinao/1529596 to your computer and use it in GitHub Desktop.
return (((c.getY() - a.getY()) * (b.getX() - a.getX()))
< ((b.getY() - a.getY()) * (c.getX() - a.getX())))
&& ((c.getY() - a.getY()) * (b.getZ() - a.getZ())
< ((b.getY() - a.getY()) * (c.getZ() - a.getZ())));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment