arsa  2.7
Public Member Functions | List of all members
irr::scene::SVertexNormalTransformManipulator Class Reference

Vertex manipulator which transforms the normal of the vertex. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexNormalTransformManipulator:
irr::scene::IVertexManipulator

Public Member Functions

 SVertexNormalTransformManipulator (const core::matrix4 &m)
 
template<typename VType >
void operator() (VType &vertex) const
 

Detailed Description

Vertex manipulator which transforms the normal of the vertex.

Definition at line 266 of file SVertexManipulator.h.

Constructor & Destructor Documentation

◆ SVertexNormalTransformManipulator()

irr::scene::SVertexNormalTransformManipulator::SVertexNormalTransformManipulator ( const core::matrix4 m)
inline

Definition at line 269 of file SVertexManipulator.h.

269 : Transformation(m) {}
const GLfloat * m

Member Function Documentation

◆ operator()()

template<typename VType >
void irr::scene::SVertexNormalTransformManipulator::operator() ( VType &  vertex) const
inline

Definition at line 271 of file SVertexManipulator.h.

272  {
273  Transformation.transformVect(vertex.Normal);
274  }
void transformVect(vector3df &vect) const
Transforms the vector by this matrix.
Definition: matrix4.h:1192

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