mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 00:17:14 +00:00
Beginning impementation of CGizmo; loading assets + rendering are implemented as well as toggling modes and scaling it on the UI (plus minor renderer bug fixes)
This commit is contained in:
@@ -279,6 +279,12 @@ const float& CVector3f::operator[](long index) const
|
||||
const CVector3f CVector3f::skZero = CVector3f(0.f);
|
||||
const CVector3f CVector3f::skOne = CVector3f(1.f);
|
||||
const CVector3f CVector3f::skInfinite = CVector3f(FLT_MAX);
|
||||
const CVector3f CVector3f::skForward = CVector3f(0.f, 1.f, 0.f);
|
||||
const CVector3f CVector3f::skBack = CVector3f(0.f, -1.f, 0.f);
|
||||
const CVector3f CVector3f::skRight = CVector3f( 1.f, 0.f, 0.f);
|
||||
const CVector3f CVector3f::skLeft = CVector3f(-1.f, 0.f, 0.f);
|
||||
const CVector3f CVector3f::skUp = CVector3f(0.f, 0.f, 1.f);
|
||||
const CVector3f CVector3f::skDown = CVector3f(0.f, 0.f, -1.f);
|
||||
|
||||
// ************ OTHER ************
|
||||
std::ostream& operator<<(std::ostream& o, const CVector3f& Vector)
|
||||
|
||||
@@ -75,6 +75,12 @@ public:
|
||||
static const CVector3f skZero;
|
||||
static const CVector3f skOne;
|
||||
static const CVector3f skInfinite;
|
||||
static const CVector3f skForward;
|
||||
static const CVector3f skBack;
|
||||
static const CVector3f skRight;
|
||||
static const CVector3f skLeft;
|
||||
static const CVector3f skUp;
|
||||
static const CVector3f skDown;
|
||||
|
||||
// Other
|
||||
friend std::ostream& operator<<(std::ostream& o, const CVector3f& Vector);
|
||||
|
||||
Reference in New Issue
Block a user