mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -1301,7 +1301,7 @@ struct DebugDraw
|
||||
const Attrib& attrib = m_attrib[m_stack];
|
||||
const uint32_t num = getCircleLod(attrib.m_lod);
|
||||
const float step = bx::kPi * 2.0f / num;
|
||||
_weight = bx::fclamp(_weight, 0.0f, 2.0f);
|
||||
_weight = bx::clamp(_weight, 0.0f, 2.0f);
|
||||
|
||||
float udir[3];
|
||||
float vdir[3];
|
||||
@@ -1348,7 +1348,7 @@ struct DebugDraw
|
||||
const Attrib& attrib = m_attrib[m_stack];
|
||||
const uint32_t num = getCircleLod(attrib.m_lod);
|
||||
const float step = bx::kPi * 2.0f / num;
|
||||
_weight = bx::fclamp(_weight, 0.0f, 2.0f);
|
||||
_weight = bx::clamp(_weight, 0.0f, 2.0f);
|
||||
|
||||
float xy0[2];
|
||||
float xy1[2];
|
||||
|
||||
Reference in New Issue
Block a user