a8/a8/vec3.h
aozhiwei c1f8ea93f7 1
2022-12-13 18:25:13 +08:00

17 lines
326 B
C++

#pragma once
namespace a8
{
struct Vec3
{
float x = 0.0f;
float y = 0.0f;
float z = 0.0f;
Vec3(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f):x(_x), y(_y), z(_z) {};
void RotateX(float angle);
void RotateY(float angle);
void RotateZ(float angle);
};
}