MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / drawOrthoFixedPos

Method drawOrthoFixedPos

source/MRViewer/MRViewportDraw.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool Viewport::drawOrthoFixedPos( const VisualObject& obj, const AffineXf3f& xf,
50 DepthFunction depthFunc /*= DepthFunction::Default*/, RenderModelPassMask pass /*= RenderModelPassMask::All*/, const TransparencyMode& transparentMode /*= {} */ ) const
51{
52 Matrix4f normM;
53 return obj.render( getModelRenderParamsOrthoFixedPos( xf, &normM, depthFunc, pass, transparentMode ) );
54}
55
56ModelRenderParams Viewport::getModelRenderParams( const Matrix4f & modelM, const BaseRenderParams& baseParams,
57 Matrix4f * normM, DepthFunction depthFunc, RenderModelPassMask pass, const TransparencyMode& transparentMode ) const

Callers 1

drawMethod · 0.80

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected