MCPcopy Create free account
hub / github.com/axmolengine/axmol / AffineTransformTranslate

Function AffineTransformTranslate

core/math/AffineTransform.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124AffineTransform AffineTransformTranslate(const AffineTransform& t, float tx, float ty)
125{
126 return AffineTransformMake(t.a, t.b, t.c, t.d, t.tx + t.a * tx + t.c * ty, t.ty + t.b * tx + t.d * ty);
127}
128
129AffineTransform AffineTransformScale(const AffineTransform& t, float sx, float sy)
130{

Callers

nothing calls this directly

Calls 1

AffineTransformMakeFunction · 0.85

Tested by

no test coverage detected