Start of block raycasting

This commit is contained in:
Simon Lübeß
2021-02-26 10:58:11 +01:00
parent 4dcf1b5bec
commit cbfbd449ff
6 changed files with 210 additions and 38 deletions
+16
View File
@@ -0,0 +1,16 @@
namespace GlitchyEngine.Math
{
struct Ray
{
public Vector3 Start;
public Vector3 Direction;
public this() => this = default;
public this(Vector3 start, Vector3 direction)
{
Start = start;
Direction = direction;
}
}
}