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
Before the question, I am not familiar with math. Sorry for that. I have seen material about obb ray collision
I understand the equation and saw the TestRayOBBIntersection function
It says
float t1 = (e+aabb_min.x)/f; // Intersection with the "left" plane
float t2 = (e+aabb_max.x)/f; // Intersection with the "right" plane
But I can not understand why the sign of variable "e" is '+' not '-' in the t1, t2 variable since it corresponds with - N dot O in the above equation in the figure.
Can you elaborate on this one?
Best regards
The text was updated successfully, but these errors were encountered:
Before the question, I am not familiar with math. Sorry for that. I have seen material about obb ray collision
I understand the equation and saw the TestRayOBBIntersection function
It says
But I can not understand why the sign of variable "e" is '+' not '-' in the t1, t2 variable since it corresponds with - N dot O in the above equation in the figure.
Can you elaborate on this one?
Best regards
The text was updated successfully, but these errors were encountered: