Last active
September 20, 2016 13:43
-
-
Save rtroe/cb3da8add1463452d31bbb4c86f81549 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
// Reset the Bounding Sphere's Center Position | |
BoundingShape.Center = Vector3.Transform(ModelCenter, World); | |
// Now Check if this entity is even in view of the camera | |
IsInCameraViewFrustum = Camera.IsInViewFrustrum(BoundingShape); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment