Ogre::Volume::Vertex Struct Reference

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

`#include <OgreVolumeMeshBuilder.h>`

## Public Member Functions

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

## Public Attributes

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

## Detailed Description

Lightweight struct to represent a mesh vertex.

Definition at line 45 of file OgreVolumeMeshBuilder.h.

## Constructor & Destructor Documentation

## Vertex() [1/2]

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

Convenience constructor.

Parameters

  v | The vertex position.
  n | The vertex normal.

Definition at line 71 of file OgreVolumeMeshBuilder.h.

## Vertex() [2/2]

Ogre::Volume::Vertex::Vertex | ( |  | ) |

Definition at line 76 of file OgreVolumeMeshBuilder.h.

References _OgreVolumeExport, Ogre::Volume::operator<(), and Ogre::Volume::operator==().

## Member Data Documentation

## nX

Real Ogre::Volume::Vertex::nX

X component of the normal.

Definition at line 57 of file OgreVolumeMeshBuilder.h.

## nY

Real Ogre::Volume::Vertex::nY

Y component of the normal.

Definition at line 60 of file OgreVolumeMeshBuilder.h.

## nZ

Real Ogre::Volume::Vertex::nZ

Z component of the normal.

Definition at line 63 of file OgreVolumeMeshBuilder.h.

## x

Real Ogre::Volume::Vertex::x

X coordinate of the position.

Definition at line 48 of file OgreVolumeMeshBuilder.h.

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

## y

Real Ogre::Volume::Vertex::y

Y coordinate of the position.

Definition at line 51 of file OgreVolumeMeshBuilder.h.

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

## z

Real Ogre::Volume::Vertex::z

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:

- OgreVolumeMeshBuilder.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.