|
Euphoria
|
A helper utility to create a Geom. More...
Public Member Functions | |
| Index | add_text_coord (const v2 &tc) |
| Index | add_position (const v3 &pos) |
| Index | add_normal (const n3 &norm) |
| Index | add_color (const Lin_rgb &color) |
| void | add_weight (const v4 &weight) |
| void | add_influence (const Influence4 &weight) |
| Index | foa_text_coord (const v2 &v, float max_diff) |
| Index | foa_position (const v3 &pos, float max_diff) |
| Index | foa_normal (const n3 &norm, float max_diff) |
| Index | foa_color (const Lin_rgb &color, float max_diff) |
| Builder & | add_triangle (const Triangle &t) |
| Builder & | add_quad (bool ccw, const Vertex &v0, const Vertex &v1, const Vertex &v2, const Vertex &v3) |
| Builder & | add_face (const std::vector< Vertex > &) |
| Builder & | move (const v3 &dir) |
| Builder & | scale (float scale) |
| Builder & | invert_normals () |
| Geom | to_geom () const |
| Builder & | write_obj (const std::string &path) |
Public Attributes | |
| std::vector< std::vector< Vertex > > | faces |
| std::vector< v3 > | positions |
| std::vector< n3 > | normals |
| std::vector< v2 > | texcoords |
| std::vector< v3 > | lin_colors |
| in linear space | |
| std::vector< v4 > | weights |
| std::vector< Influence4 > | influences |
A helper utility to create a Geom.
Definition at line 61 of file geom.builder.h.
| void eu::core::geom::Builder::add_influence | ( | const Influence4 & | weight | ) |
| Builder & eu::core::geom::Builder::add_quad | ( | bool | ccw, |
| const Vertex & | v0, | ||
| const Vertex & | v1, | ||
| const Vertex & | v2, | ||
| const Vertex & | v3 | ||
| ) |
| Builder & eu::core::geom::Builder::invert_normals | ( | ) |
| Geom eu::core::geom::Builder::to_geom | ( | ) | const |
| std::vector<std::vector<Vertex> > eu::core::geom::Builder::faces |
Definition at line 88 of file geom.builder.h.
| std::vector<Influence4> eu::core::geom::Builder::influences |
Definition at line 94 of file geom.builder.h.
| std::vector<v3> eu::core::geom::Builder::lin_colors |
in linear space
Definition at line 92 of file geom.builder.h.
| std::vector<n3> eu::core::geom::Builder::normals |
Definition at line 90 of file geom.builder.h.
| std::vector<v3> eu::core::geom::Builder::positions |
Definition at line 89 of file geom.builder.h.
| std::vector<v2> eu::core::geom::Builder::texcoords |
Definition at line 91 of file geom.builder.h.
| std::vector<v4> eu::core::geom::Builder::weights |
Definition at line 93 of file geom.builder.h.