convert vector2 and vector3 to classes instead of structs
This commit is contained in:
parent
c81b4d213e
commit
d44c824b92
@ -5,14 +5,16 @@ https://www.o3de.org/blog/posts/vectors-matrices-matrix-order/
|
||||
|
||||
namespace Core
|
||||
{
|
||||
struct Vec2
|
||||
class Vector2
|
||||
{
|
||||
public:
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct Vec3
|
||||
class Vector3
|
||||
{
|
||||
public:
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
|
||||
@ -2,4 +2,6 @@
|
||||
|
||||
## Notes
|
||||
|
||||
Add tests for when you start implementing the AppLib functions. Use gtest for that. Also if you can figure it out (i know you can) add some file movement to build dir automation for cmake.
|
||||
Add tests for when you start implementing the AppLib functions. Use gtest for that. Also if you can figure it out (i know you can) add some file movement to build dir automation for cmake.
|
||||
|
||||
Remember to think of libraries as co-workers. Don't put the weight of the world on yourself.
|
||||
Loading…
x
Reference in New Issue
Block a user