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
Sorry if this is the wrong place to ask this. I'm on lesson 2. I'm porting the lessons to C# to try to understand the theory better. The following line of code confuses me. I understand it's using an exclusive or but why is it doing this? What is the logic behind this so I can port this to C#. Thank you.
Vec3f n = (world_coords[2]-world_coords[0])^(world_coords[1]-world_coords[0]);
The text was updated successfully, but these errors were encountered:
This is an overloaded operator for cross product. In later commits it is superseded by cross(Vec3f v1, Vec3f v2) function.
The wedge notation is standard in french school, I thought it was common enough. But it confuses peope, so it was removed.
Sorry if this is the wrong place to ask this. I'm on lesson 2. I'm porting the lessons to C# to try to understand the theory better. The following line of code confuses me. I understand it's using an exclusive or but why is it doing this? What is the logic behind this so I can port this to C#. Thank you.
Vec3f n = (world_coords[2]-world_coords[0])^(world_coords[1]-world_coords[0]);
The text was updated successfully, but these errors were encountered: