| 47 | } |
| 48 | |
| 49 | bool 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 | |
| 56 | ModelRenderParams Viewport::getModelRenderParams( const Matrix4f & modelM, const BaseRenderParams& baseParams, |
| 57 | Matrix4f * normM, DepthFunction depthFunc, RenderModelPassMask pass, const TransparencyMode& transparentMode ) const |