MCPcopy 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
327void 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

onEnterMethod · 0.80

Calls 1

Vec2Class · 0.70

Tested by 1

onEnterMethod · 0.64