mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Start of block raycasting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user