Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XFileNormal Class Reference

This represents a single normal associated with an XFileFace. More...

#include <xFileNormal.h>

List of all members.

Public Member Functions

 XFileNormal ()
void set_from_egg (EggVertex *egg_vertex, EggPrimitive *egg_prim)
 Sets the structure up from the indicated egg data.

int compare_to (const XFileNormal &other) const

Public Attributes

Normalf _normal
bool _has_normal


Detailed Description

This represents a single normal associated with an XFileFace.

It is separate from XFileVertex, because the X syntax supports a different table of normals than that of vertices.

Definition at line 44 of file xFileNormal.h.


Constructor & Destructor Documentation

XFileNormal::XFileNormal  ) 
 

Definition at line 35 of file xFileNormal.cxx.

References EggPrimitive::get_normal(), EggVertex::get_normal(), EggPrimitive::has_normal(), EggVertex::has_normal(), and Normald.


Member Function Documentation

int XFileNormal::compare_to const XFileNormal &  other  )  const
 

Definition at line 80 of file xFileNormal.cxx.

void XFileNormal::set_from_egg EggVertex egg_vertex,
EggPrimitive egg_prim
 

Sets the structure up from the indicated egg data.

Definition at line 49 of file xFileNormal.cxx.

References EggPrimitive::get_vertex_frame().


Member Data Documentation

bool XFileNormal::_has_normal
 

Definition at line 51 of file xFileNormal.h.

Normalf XFileNormal::_normal
 

Definition at line 50 of file xFileNormal.h.

Referenced by XFileMesh::has_materials().


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:28:10 2003 for Panda-Tool by doxygen1.3