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

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

#include "xFileVertex.h"

Public Member Functions

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

Public Attributes

LColor _color
 
bool _has_color
 
bool _has_uv
 
LVertexd _point
 
LTexCoordd _uv
 

Detailed Description

This represents a single vertex associated with an XFileFace.

Definition at line 26 of file xFileVertex.h.

Member Function Documentation

◆ set_from_egg()

void XFileVertex::set_from_egg ( EggVertex egg_vertex,
EggPrimitive egg_poly 
)

Sets the structure up from the indicated egg data.

Definition at line 35 of file xFileVertex.cxx.

References EggVertex::get_pos3().

Referenced by XFileMesh::add_vertex().


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