MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / get_matrix

Method get_matrix

src/testrender/simplerend.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101bool
102SimpleRenderer::get_matrix (ShaderGlobals *sg, Matrix44 &result,
103 TransformationPtr xform,
104 float time)
105{
106 // SimpleRenderer doesn't understand motion blur and transformations
107 // are just simple 4x4 matrices.
108 result = *reinterpret_cast<const Matrix44*>(xform);
109 return true;
110}
111
112
113

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected