MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetInitialPoint

Method SetInitialPoint

GTE/Applications/TrackObject.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void TrackObject::SetInitialPoint(int32_t x, int32_t y)
106{
107 if (mValid && mRoot)
108 {
109 mX0 = (2.0f * x - mXSize) * mMultiplier;
110 mY0 = (2.0f * y - mYSize) * mMultiplier;
111 OnSetInitialPoint();
112 }
113}
114
115void TrackObject::SetFinalPoint(int32_t x, int32_t y)
116{

Callers 2

OnMouseClickMethod · 0.80
OnMouseClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected