Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ setMidpoint
Method
setMidpoint
core/2d/ProgressTimer.cpp:327–330 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
325
}
326
327
void ProgressTimer::setMidpoint(const Vec2& midPoint)
328
{
329
_midpoint = midPoint.getClampPoint(Vec2::ZERO, Vec2(1, 1));
330
}
331
332
///
333
// Update does the work of mapping the texture onto the triangles
Callers
2
progressTimerNodeWithRenderTexture
Method · 0.80
onEnter
Method · 0.80
Calls
1
Vec2
Class · 0.70
Tested by
1
onEnter
Method · 0.64