Panda3D
Public Member Functions | Public Attributes | List of all members
XFileNormal Class Reference

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

#include "xFileNormal.h"

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. More...
 

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 28 of file xFileNormal.h.

Member Function Documentation

◆ set_from_egg()

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

Sets the structure up from the indicated egg data.

Definition at line 32 of file xFileNormal.cxx.

Referenced by XFileMesh::add_normal().


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