MCPcopy Create free account
hub / github.com/Chlumsky/msdfgen / projectX

Method projectX

core/Projection.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26double Projection::projectX(double x) const {
27 return scale.x*(x+translate.x);
28}
29
30double Projection::projectY(double y) const {
31 return scale.y*(y+translate.y);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected