DebugModelMatrixPrimitive
Draws the axes of a reference frame defined by a matrix that transforms to world coordinates, i.e., Earth's WGS84 coordinates. The most prominent example is a primitives modelMatrix
.
The X axis is red; Y is green; and Z is blue.
This is for debugging only; it is not optimized for production use.
primitives.add(new DebugModelMatrixPrimitive({
modelMatrix : primitive.modelMatrix, // primitive to debug
length : 100000.0,
width : 10.0
}));
Content copied to clipboard