|
@@ -133,10 +133,6 @@ static const uint16_t s_planeIndices[s_numPlaneIndices] =
|
|
|
1, 3, 2,
|
|
1, 3, 2,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-// Helper functions
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-
|
|
|
|
|
static const char* s_shaderPath = NULL;
|
|
static const char* s_shaderPath = NULL;
|
|
|
static bool s_flipV = false;
|
|
static bool s_flipV = false;
|
|
|
static uint32_t s_viewMask = 0;
|
|
static uint32_t s_viewMask = 0;
|
|
@@ -216,10 +212,6 @@ static bgfx::ProgramHandle loadProgram(const char* _vsName, const char* _fsName)
|
|
|
return program;
|
|
return program;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-// Math
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-
|
|
|
|
|
void mtxScaleRotateTranslate(float* _result
|
|
void mtxScaleRotateTranslate(float* _result
|
|
|
, const float _scaleX
|
|
, const float _scaleX
|
|
|
, const float _scaleY
|
|
, const float _scaleY
|
|
@@ -566,10 +558,6 @@ void submitMask(uint32_t _viewMask, int32_t _depth = 0)
|
|
|
s_viewMask |= _viewMask;
|
|
s_viewMask |= _viewMask;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-// Mesh
|
|
|
|
|
-//-------------------------------------------------
|
|
|
|
|
-
|
|
|
|
|
struct Aabb
|
|
struct Aabb
|
|
|
{
|
|
{
|
|
|
float m_min[3];
|
|
float m_min[3];
|