Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::EdgeData::Triangle Struct Reference

Basic triangle structure. More...

`#include <OgreEdgeListBuilder.h>`

List of all members.

## Public Attributes

size_t | indexSet
| The set of indexes this triangle came from (NB it is possible that the triangles on one side of an edge are using a different vertex buffer from those on the other side.).
size_t | vertexSet
| The vertex set these vertices came from.
size_t | vertIndex [3]
size_t | sharedVertIndex [3]
| Vertex indexes, relative to the original buffer.
Vector4 | normal
| Vertex indexes, relative to a shared vertex buffer with.
bool | lightFacing

## Detailed Description

Basic triangle structure.

Definition at line 46 of file OgreEdgeListBuilder.h.

## Member Data Documentation

size_t Ogre::EdgeData::Triangle::indexSet

| The set of indexes this triangle came from (NB it is possible that the triangles on one side of an edge are using a different vertex buffer from those on the other side.). Definition at line 49 of file OgreEdgeListBuilder.h. Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::EdgeData::log(), Ogre::MeshSerializerImpl::readEdgeList(), and Ogre::MeshSerializerImpl::writeEdgeList().

bool Ogre::EdgeData::Triangle::lightFacing

| Definition at line 56 of file OgreEdgeListBuilder.h. Referenced by Ogre::ShadowCaster::generateShadowVolume(), and Ogre::EdgeData::updateTriangleLightFacing().

Vector4 Ogre::EdgeData::Triangle::normal

| Vertex indexes, relative to a shared vertex buffer with. Definition at line 55 of file OgreEdgeListBuilder.h. Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::MeshSerializerImpl::readEdgeList(), Ogre::EdgeData::updateFaceNormals(), Ogre::EdgeData::updateTriangleLightFacing(), and Ogre::MeshSerializerImpl::writeEdgeList().

size_t Ogre::EdgeData::Triangle::sharedVertIndex[3]

| Vertex indexes, relative to the original buffer. Definition at line 53 of file OgreEdgeListBuilder.h. Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::EdgeListBuilder::connectEdges(), Ogre::MeshSerializerImpl::readEdgeList(), and Ogre::MeshSerializerImpl::writeEdgeList().

size_t Ogre::EdgeData::Triangle::vertexSet

| The vertex set these vertices came from. Definition at line 51 of file OgreEdgeListBuilder.h. Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::ShadowCaster::generateShadowVolume(), Ogre::EdgeData::log(), Ogre::MeshSerializerImpl::readEdgeList(), Ogre::EdgeData::updateFaceNormals(), and Ogre::MeshSerializerImpl::writeEdgeList().

size_t Ogre::EdgeData::Triangle::vertIndex[3]

| Definition at line 52 of file OgreEdgeListBuilder.h. Referenced by Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::ShadowCaster::generateShadowVolume(), Ogre::EdgeData::log(), Ogre::MeshSerializerImpl::readEdgeList(), Ogre::EdgeData::updateFaceNormals(), and Ogre::MeshSerializerImpl::writeEdgeList().

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

- OgreEdgeListBuilder.h

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:09 2004