MCPcopy Create free account
hub / github.com/ZDoom/Raze / scale

Method scale

source/common/utility/matrix.cpp:172–178  ·  view source on GitHub ↗

gl Scale implementation

Source from the content-addressed store, hash-verified

170
171// gl Scale implementation
172void
173VSMatrix::scale(FLOATTYPE x, FLOATTYPE y, FLOATTYPE z)
174{
175 mMatrix[0] *= x; mMatrix[1] *= x; mMatrix[2] *= x; mMatrix[3] *= x;
176 mMatrix[4] *= y; mMatrix[5] *= y; mMatrix[6] *= y; mMatrix[7] *= y;
177 mMatrix[8] *= z; mMatrix[9] *= z; mMatrix[10] *= z; mMatrix[11] *= z;
178}
179
180
181// gl Rotate implementation

Callers 8

SetViewMatrixMethod · 0.45
DrawContentsMethod · 0.45
ProcessVoxelMethod · 0.45
LoadMethod · 0.45
CalculateBonesIQMMethod · 0.45
Draw2DFunction · 0.45
SetupMatricesMethod · 0.45
RenderBoxMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected