PolyVox  0.2.1
Open source voxel management library
Public Member Functions | Public Attributes
PolyVox::PositionMaterial Class Reference

#include <VertexTypes.h>

+ Collaboration diagram for PolyVox::PositionMaterial:

List of all members.

Public Member Functions

 PositionMaterial ()
 PositionMaterial (Vector3DFloat positionToSet, float materialToSet)
float getMaterial (void) const
const Vector3DFloatgetPosition (void) const
void setMaterial (float materialToSet)
void setPosition (const Vector3DFloat &positionToSet)

Public Attributes

Vector3DFloat position
float material

Detailed Description

Definition at line 39 of file VertexTypes.h.

Constructor & Destructor Documentation

PolyVox::PositionMaterial::PositionMaterial ( )

Definition at line 80 of file VertexTypes.cpp.

PolyVox::PositionMaterial::PositionMaterial ( Vector3DFloat  positionToSet,
float  materialToSet 

Definition at line 84 of file VertexTypes.cpp.

Member Function Documentation

float PolyVox::PositionMaterial::getMaterial ( void  ) const

Definition at line 91 of file VertexTypes.cpp.

const Vector3DFloat & PolyVox::PositionMaterial::getPosition ( void  ) const

Definition at line 96 of file VertexTypes.cpp.

void PolyVox::PositionMaterial::setMaterial ( float  materialToSet)

Definition at line 101 of file VertexTypes.cpp.

void PolyVox::PositionMaterial::setPosition ( const Vector3DFloat positionToSet)

Definition at line 106 of file VertexTypes.cpp.

Member Data Documentation

float PolyVox::PositionMaterial::material

Definition at line 54 of file VertexTypes.h.

Referenced by getMaterial(), and setMaterial().

Vector3DFloat PolyVox::PositionMaterial::position

Definition at line 53 of file VertexTypes.h.

Referenced by getPosition(), and setPosition().

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