game-math
game-math copied to clipboard
Free open-source math library for games.
Implement a line-ray intersection test with the following signature: ``` public static bool Intersects(this LineSegment2F line, Ray2F ray) ``` Call that method from ``` public static bool Intersects(this Ray2F ray,...
Implement a line-line intersection test with the following signature: ``` public static bool Intersects(this LineSegment2F first, LineSegment2F second) ``` If you can, provide an overload with an out parameter containing...
Implement an immutable Quaternion struct in the Core folder. - Write a struct summary comment. - Add the CLSCompliant attribute. - Implement IEquatable - Implement Equals and GetHashCode. - Implement...
Implement an immutable Matrix struct in the Core folder. - Write a struct summary comment. - Add the CLSCompliant attribute. - Implement IEquatable - Implement Equals and GetHashCode. - Implement...