Skip to content

Instantly share code, notes, and snippets.

@itreyger
Created September 30, 2013 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itreyger/6769175 to your computer and use it in GitHub Desktop.
Save itreyger/6769175 to your computer and use it in GitHub Desktop.
OmNomster code
shadow.x = lightDestinationPoint.x + (object.x – lightDestinationPoint.x);
shadow.y = lightDestinationPoint.y + (object.y – lightDestinationPoint.y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment