added texture atlas
This commit is contained in:
@@ -9,7 +9,8 @@ namespace Voxel
|
||||
public static float Pitch = 0f;
|
||||
public static float Yaw = -90f;
|
||||
public static float FOV = 70f;
|
||||
public static float Speed = 0.5f;
|
||||
public static float Speed = 5f;
|
||||
public static float ShiftSpeed = 20f;
|
||||
|
||||
public static Matrix4 view =>
|
||||
Matrix4.LookAt(Position, Position + Front, Vector3.UnitY);
|
||||
@@ -33,7 +34,7 @@ namespace Voxel
|
||||
float moveSpeed = Speed * time;
|
||||
if (Input.GetKey(OpenTK.Windowing.GraphicsLibraryFramework.Keys.LeftShift))
|
||||
{
|
||||
moveSpeed *= 10;
|
||||
moveSpeed = ShiftSpeed * time;
|
||||
}
|
||||
if (Input.GetKey(OpenTK.Windowing.GraphicsLibraryFramework.Keys.W))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user