MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetWorldMatrix

Method GetWorldMatrix

Source/Engine/Graphics/RenderView.cpp:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void RenderView::GetWorldMatrix(const Transform& transform, Matrix& world) const
214{
215 const Float3 translation = transform.Translation - Origin;
216 Matrix::Transformation(transform.Scale, transform.Orientation, translation, world);
217}
218
219void RenderView::GetWorldMatrix(Double4x4& world) const
220{

Callers 9

DrawMethod · 0.45
DrawParticlesMethod · 0.45
SimMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected