MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / _make_rot

Function _make_rot

ogsr_engine/xrGame/ui/UIProgressShape.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38void CUIProgressShape::SetTextVisible(bool b) { m_bText = b; }
39
40void _make_rot(Fvector2& pt, const Fvector2& src, float sin_a, float cos_a, float angle)
41{
42 pt.x = src.x * cos_a + src.y * sin_a;
43 pt.y = src.y * cos_a - src.x * sin_a;
44}
45
46float calc_color(u32 idx, u32 total, float stage, float max_stage, bool blend)
47{

Callers 1

DrawMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected