MCPcopy Index your code
hub / github.com/g3n/engine / ModelViewMatrix

Method ModelViewMatrix

graphic/graphic.go:262–265  ·  view source on GitHub ↗

ModelViewMatrix returns the last cached model view matrix for this graphic.

()

Source from the content-addressed store, hash-verified

260
261// ModelViewMatrix returns the last cached model view matrix for this graphic.
262func (gr *Graphic) ModelViewMatrix() *math32.Matrix4 {
263
264 return &gr.mvm
265}
266
267// ModelViewProjectionMatrix returns the last cached model view projection matrix for this graphic.
268func (gr *Graphic) ModelViewProjectionMatrix() *math32.Matrix4 {

Callers 4

RenderSetupMethod · 0.80
RenderSetupMethod · 0.80
RenderSetupMethod · 0.80
zSortFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected