mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
081939a306
commit
3dc932d599
2 changed files with 756 additions and 815 deletions
|
@ -133,10 +133,6 @@ static const uint16_t s_planeIndices[s_numPlaneIndices] =
|
|||
1, 3, 2,
|
||||
};
|
||||
|
||||
//-------------------------------------------------
|
||||
// Helper functions
|
||||
//-------------------------------------------------
|
||||
|
||||
static const char* s_shaderPath = NULL;
|
||||
static bool s_flipV = false;
|
||||
static uint32_t s_viewMask = 0;
|
||||
|
@ -216,10 +212,6 @@ static bgfx::ProgramHandle loadProgram(const char* _vsName, const char* _fsName)
|
|||
return program;
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// Math
|
||||
//-------------------------------------------------
|
||||
|
||||
void mtxScaleRotateTranslate(float* _result
|
||||
, const float _scaleX
|
||||
, const float _scaleY
|
||||
|
@ -566,10 +558,6 @@ void submitMask(uint32_t _viewMask, int32_t _depth = 0)
|
|||
s_viewMask |= _viewMask;
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// Mesh
|
||||
//-------------------------------------------------
|
||||
|
||||
struct Aabb
|
||||
{
|
||||
float m_min[3];
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue