Panda3D
Public Member Functions | Public Attributes

XFileNormal Class Reference

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

#include "xFileNormal.h"

List of all members.

Public Member Functions

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

Public Attributes

bool _has_normal
LNormald _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 31 of file xFileNormal.h.


Member Function Documentation

void XFileNormal::set_from_egg ( EggVertex egg_vertex,
EggPrimitive egg_prim 
)

Sets the structure up from the indicated egg data.

Definition at line 37 of file xFileNormal.cxx.

References EggNode::get_vertex_frame(), and EggNode::get_vertex_to_node().

Referenced by XFileMesh::add_normal().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations