Created
April 20, 2016 04:31
-
-
Save iondune/4f5df43f3fede78396fa4e2da63c86af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vec3f const Translation = vec3f( | |
| (float) (Layer->ActiveRegion.Position.X * Layer->ScaleFactor * 0.1f - GlobalSystemOffset.X), | |
| 0.f, | |
| (float) (Layer->ActiveRegion.Position.Y * Layer->ScaleFactor * 0.1f - GlobalSystemOffset.Y)); | |
| vec3f const Scale = vec3f( | |
| (float) Layer->ScaleFactor * 0.1f, | |
| 0.1f, | |
| (float) Layer->ScaleFactor * 0.1f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment