25 return _max_collect_vertices;
37 _max_collect_vertices = max_collect_vertices;
45 INLINE
bool GeomTransformer::SourceVertices::
46 operator < (
const GeomTransformer::SourceVertices &other)
const {
47 if (_vertex_data != other._vertex_data) {
48 return _vertex_data < other._vertex_data;
50 return (_mat.compare_to(other._mat) < 0);
58 INLINE
bool GeomTransformer::SourceTexCoords::
59 operator < (
const GeomTransformer::SourceTexCoords &other)
const {
60 if (_vertex_data != other._vertex_data) {
61 return _vertex_data < other._vertex_data;
63 if (_from != other._from) {
64 return _from < other._from;
66 if (_to != other._to) {
67 return _to < other._to;
69 return (_mat.compare_to(other._mat) < 0);
77 INLINE
bool GeomTransformer::SourceColors::
78 operator < (
const GeomTransformer::SourceColors &other)
const {
79 if (_vertex_data != other._vertex_data) {
80 return _vertex_data < other._vertex_data;
82 return (_color.compare_to(other._color) < 0);
90 INLINE
bool GeomTransformer::SourceTextureColors::
91 operator < (
const GeomTransformer::SourceTextureColors &other)
const {
92 if (_vertex_data != other._vertex_data) {
93 return _vertex_data < other._vertex_data;
95 if (_tex != other._tex) {
96 return _tex < other._tex;
98 if (_ts != other._ts) {
99 return _ts < other._ts;
101 if (_tma != other._tma) {
102 return _tma < other._tma;
104 if (_keep_vertex_color != other._keep_vertex_color) {
105 return (
int)_keep_vertex_color < (int)other._keep_vertex_color;
107 return (_base_color.compare_to(other._base_color) < 0);
115 INLINE
bool GeomTransformer::SourceFormat::
116 operator < (
const GeomTransformer::SourceFormat &other)
const {
117 if (_format != other._format) {
118 return _format < other._format;
120 return _vertex_data < other._vertex_data;
128 INLINE
bool GeomTransformer::NewCollectedKey::
129 operator < (
const GeomTransformer::NewCollectedKey &other)
const {
130 if (_format != other._format) {
131 return _format < other._format;
133 if (_usage_hint != other._usage_hint) {
134 return (
int)_usage_hint < (int)other._usage_hint;
136 if (_animation_type != other._animation_type) {
137 return (
int)_animation_type < (int)other._animation_type;
139 return _name < other._name;
147 INLINE GeomTransformer::VertexDataAssoc::
149 _might_have_unused =
false;