more camera movement
This commit is contained in:
@@ -20,6 +20,8 @@ struct Vec2
|
||||
{
|
||||
float X = 0.0f;
|
||||
float Y = 0.0f;
|
||||
|
||||
void Normalize();
|
||||
};
|
||||
|
||||
struct Vec3
|
||||
@@ -32,6 +34,8 @@ struct Vec3
|
||||
{
|
||||
return {X, Y, Z};
|
||||
};
|
||||
|
||||
void Normalize();
|
||||
};
|
||||
|
||||
struct Quat
|
||||
@@ -67,7 +71,8 @@ struct Mat4
|
||||
};
|
||||
|
||||
static void CreateTransform(float* out, Vec3 pos, Quat rot = {}, Vec3 scale = {1.0f, 1.0f, 1.0f});
|
||||
void Translate(Vec3 offset);
|
||||
void TranslateLocal(Vec3 offset);
|
||||
void Rotate(Vec3 rotation);
|
||||
Vec3 Right();
|
||||
Vec3 Up();
|
||||
Vec3 Forward();
|
||||
|
||||
Reference in New Issue
Block a user