MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / ConsoleGetType

Function ConsoleGetType

Engine/source/math/mathTypes.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129ImplementConsoleTypeCasters( TypePoint2I, Point2I )
130
131ConsoleGetType( TypePoint2I )
132{
133 Point2I *pt = (Point2I *) dptr;
134 static const U32 bufSize = 256;
135 char* returnBuffer = Con::getReturnBuffer(bufSize);
136 dSprintf(returnBuffer, bufSize, "%d %d", pt->x, pt->y);
137 return returnBuffer;
138}
139
140ConsoleSetType( TypePoint2I )
141{

Callers

nothing calls this directly

Calls 6

getReturnBufferFunction · 0.85
dSprintfFunction · 0.85
mRadToDegFunction · 0.85
getColumnMethod · 0.80
asEulerFMethod · 0.80
normalizeMethod · 0.45

Tested by

no test coverage detected