mirror of
https://github.com/NoelFB/blah.git
synced 2025-02-21 13:58:28 +08:00
added vec3 skeleton
This commit is contained in:
parent
ac58379de8
commit
8491d2a56b
23
include/blah/math/vec3.h
Normal file
23
include/blah/math/vec3.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace Blah
|
||||||
|
{
|
||||||
|
struct Vec3
|
||||||
|
{
|
||||||
|
float x;
|
||||||
|
float y;
|
||||||
|
float z;
|
||||||
|
|
||||||
|
Vec3()
|
||||||
|
: x(0)
|
||||||
|
, y(0)
|
||||||
|
, z(0)
|
||||||
|
{}
|
||||||
|
|
||||||
|
Vec3(float x, float y, float z)
|
||||||
|
: x(x)
|
||||||
|
, y(y)
|
||||||
|
, z(z)
|
||||||
|
{}
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user