game-math
game-math copied to clipboard
Free open-source math library for games.
Hello. Is GameMath support deterministic calculations for floats (basically, restrict precision / fixed point)? Its specifically required to make a game like an RTS networked. Some reading, in case if...
Implement a sphere-sphere intersection test with the following signature: ``` public static bool Intersects(this SphereF first, SphereF second) ``` If you can, provide an overload with an out parameter containing...
Implement a box-sphere intersection test with the following signature: ``` public static bool Intersects(this BoxF box, SphereF sphere) ``` Call that method from ``` public static bool Intersects(this SphereF sphere,...
Implement a plane-sphere intersection test with the following signature: ``` public static bool Intersects(this PlaneF plane, SphereF sphere) ``` Call that method from ``` public static bool Intersects(this SphereF sphere,...
Implement a plane-box intersection test with the following signature: ``` public static bool Intersects(this PlaneF plane, BoxF box) ``` Call that method from ``` public static bool Intersects(this BoxF box,...
Implement a plane-plane intersection test with the following signature: ``` public static bool Intersects(this PlaneF first, PlaneF second) ``` If you can, provide an overload with an out parameter containing...
Implement a ray-sphere intersection test with the following signature: ``` public static bool Intersects(this Ray3F ray, SphereF sphere) ``` Call that method from ``` public static bool Intersects(this SphereF sphere,...
Implement a ray-box intersection test with the following signature: ``` public static bool Intersects(this Ray3F ray, BoxF box) ``` Call that method from ``` public static bool Intersects(this BoxF box,...
Implement a ray-plane intersection test with the following signature: ``` public static bool Intersects(this Ray3F ray, PlaneF plane) ``` Call that method from ``` public static bool Intersects(this PlaneF plane,...
Implement a ray-ray intersection test with the following signature: ``` public static bool Intersects(this Ray3F first, Ray3F second) ``` If you can, provide an overload with an out parameter containing...