Commit b89cfb7a authored by Jan Möbius's avatar Jan Möbius
Browse files

removed ugly unnecessary casts

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18223 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 35742452
......@@ -383,19 +383,19 @@ public:
void release_edge_selections() { release_prop( ref_count_eselections_, eselections_);}
// property availability
bool vertex_normals_available() const {return bool(ref_count_vnormals_);}
bool vertex_binormals_available() const {return bool(ref_count_vbinormals_);}
bool vertex_colors_available() const {return bool(ref_count_vcolors_);}
bool vertex_scalars_available() const {return bool(ref_count_vscalars_);}
bool vertex_selections_available() const {return bool(ref_count_vselections_);}
bool vertex_vhandles_available() const {return bool(ref_count_vvhandles_);}
bool vertex_ehandles_available() const {return bool(ref_count_vehandles_);}
bool vertex_fhandles_available() const {return bool(ref_count_vfhandles_);}
bool edge_normals_available() const {return bool(ref_count_enormals_);}
bool edge_colors_available() const {return bool(ref_count_ecolors_);}
bool edge_scalars_available() const {return bool(ref_count_escalars_);}
bool edge_selections_available() const {return bool(ref_count_eselections_);}
bool vertex_normals_available() const {return (ref_count_vnormals_ != 0 ); }
bool vertex_binormals_available() const {return (ref_count_vbinormals_ != 0 ); }
bool vertex_colors_available() const {return (ref_count_vcolors_ != 0 ); }
bool vertex_scalars_available() const {return (ref_count_vscalars_ != 0 ); }
bool vertex_selections_available() const {return (ref_count_vselections_ != 0 ); }
bool vertex_vhandles_available() const {return (ref_count_vvhandles_ != 0 ); }
bool vertex_ehandles_available() const {return (ref_count_vehandles_ != 0 ); }
bool vertex_fhandles_available() const {return (ref_count_vfhandles_ != 0 ); }
bool edge_normals_available() const {return (ref_count_enormals_ != 0 ); }
bool edge_colors_available() const {return (ref_count_ecolors_ != 0 ); }
bool edge_scalars_available() const {return (ref_count_escalars_ != 0 ); }
bool edge_selections_available() const {return (ref_count_eselections_ != 0 ); }
// property access ( no range or availability check! )
Point& vertex_normal(unsigned int _i) { return vnormals_[_i];}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment