Public Member Functions | Public Attributes
Ogre::Volume::Vertex Struct Reference

Lightweight struct to represent a mesh vertex. More...

#include <OgreVolumeMeshBuilder.h>

List of all members.

Public Member Functions

 Vertex (const Vector3 &v, const Vector3 &n)
 Convenience constructor.
 Vertex ()

Public Attributes

Real nX
 X component of the normal.
Real nY
 Y component of the normal.
Real nZ
 Z component of the normal.
Real x
 X coordinate of the position.
Real y
 Y coordinate of the position.
Real z
 Z coordinate of the position.

Detailed Description

Lightweight struct to represent a mesh vertex.

Definition at line 45 of file OgreVolumeMeshBuilder.h.


Constructor & Destructor Documentation

Ogre::Volume::Vertex::Vertex ( const Vector3 v,
const Vector3 n 
)

Convenience constructor.

Parameters:
vThe vertex position.
nThe vertex normal.

Definition at line 71 of file OgreVolumeMeshBuilder.h.

Definition at line 76 of file OgreVolumeMeshBuilder.h.


Member Data Documentation

X component of the normal.

Definition at line 57 of file OgreVolumeMeshBuilder.h.

Y component of the normal.

Definition at line 60 of file OgreVolumeMeshBuilder.h.

Z component of the normal.

Definition at line 63 of file OgreVolumeMeshBuilder.h.

X coordinate of the position.

Definition at line 48 of file OgreVolumeMeshBuilder.h.

Referenced by Ogre::Volume::MeshBuilder::addVertex().

Y coordinate of the position.

Definition at line 51 of file OgreVolumeMeshBuilder.h.

Referenced by Ogre::Volume::MeshBuilder::addVertex().

Z coordinate of the position.

Definition at line 54 of file OgreVolumeMeshBuilder.h.

Referenced by Ogre::Volume::MeshBuilder::addVertex().


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:53