Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::scene::SVertexPositionScaleAlongNormalsManipulator Class Reference

Vertex manipulator which scales the position of the vertex along the normals. More...

#include <nirtcpp/core/engine/SVertexManipulator.hpp>

Inheritance diagram for nirt::scene::SVertexPositionScaleAlongNormalsManipulator:
Inheritance graph
Collaboration diagram for nirt::scene::SVertexPositionScaleAlongNormalsManipulator:
Collaboration graph

Public Member Functions

 SVertexPositionScaleAlongNormalsManipulator (const core::vector3df &factor)
 
template<typename VType >
void operator() (VType &vertex) const
 

Detailed Description

Vertex manipulator which scales the position of the vertex along the normals.

This can look more pleasing than the usual Scale operator, but depends on the mesh geometry.


The documentation for this class was generated from the following file:

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print