Panda3D
Loading...
Searching...
No Matches
xFileVertex.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file xFileVertex.h
10 * @author drose
11 * @date 2001-06-19
12 */
13
14#ifndef XFILEVERTEX_H
15#define XFILEVERTEX_H
16
17#include "pandatoolbase.h"
18#include "luse.h"
19
20class EggVertex;
21class EggPrimitive;
22
23/**
24 * This represents a single vertex associated with an XFileFace.
25 */
27public:
29 void set_from_egg(EggVertex *egg_vertex, EggPrimitive *egg_poly);
30 int compare_to(const XFileVertex &other) const;
31
32 LVertexd _point;
33 LTexCoordd _uv;
34 LColor _color;
35 bool _has_color;
36 bool _has_uv;
37};
38
39#endif
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
Any one-, two-, three-, or four-component vertex, possibly with attributes such as a normal.
Definition eggVertex.h:39
This represents a single vertex associated with an XFileFace.
Definition xFileVertex.h:26
void set_from_egg(EggVertex *egg_vertex, EggPrimitive *egg_poly)
Sets the structure up from the indicated egg data.
An STL function object class, this is intended to be used on any ordered collection of class objects ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.