1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 09:17:47 +00:00
sapphire/src/common/Vector3.h

28 lines
510 B
C
Raw Normal View History

#pragma once
2019-02-06 11:12:29 +01:00
2019-02-06 12:01:33 +01:00
namespace Sapphire::Common
2019-02-06 11:12:29 +01:00
{
// todo: get rid of this struct and use an actual vector 3 class
2019-02-06 12:01:33 +01:00
struct FFXIVARR_POSITION3
2019-02-06 11:12:29 +01:00
{
2019-02-06 12:01:33 +01:00
float x;
float y;
float z;
inline bool operator == ( const FFXIVARR_POSITION3& target ) const;
};
2019-02-06 11:12:29 +01:00
struct Vector3
{
float x;
float y;
float z;
inline bool operator == ( const Vector3& target ) const;
inline bool operator == ( const FFXIVARR_POSITION3& target ) const;
};
struct Matrix33
{
float m[ 3 ][ 3 ];
};
}