You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ModelPlane function, the plane's normal is transformed by the model's inverse world matrix as needed, but the distance from origin isn't - eg, take a point on the plane, multiply it by the inverse world matrix, and dot it against the transformed normal to get the transformed distance.
The text was updated successfully, but these errors were encountered:
In the ModelPlane function, the plane's normal is transformed by the model's inverse world matrix as needed, but the distance from origin isn't - eg, take a point on the plane, multiply it by the inverse world matrix, and dot it against the transformed normal to get the transformed distance.
The text was updated successfully, but these errors were encountered: