|
Euphoria
|
Go to the source code of this file.
Classes | |
| struct | eu::core::geom::Vertex |
| A single vertex referencing the shared data in the Builder. More... | |
| struct | eu::core::geom::Triangle |
| A simple triangle face in a Builder. More... | |
| struct | eu::core::geom::Builder |
| A helper utility to create a Geom. More... | |
Namespaces | |
| namespace | eu |
| namespace | eu::core |
| namespace | eu::core::geom |
Typedefs | |
| using | eu::core::geom::Index = u64 |
| A type alias for the index used in the Builder. | |
| using | eu::core::geom::Influence4 = std::array< std::size_t, 4 > |
Enumerations | |
| enum class | eu::core::geom::SideCount { eu::core::geom::SideCount::one_sided , eu::core::geom::SideCount::two_sided } |
| An enum describing if a face is one or two-sided. More... | |
| enum class | eu::core::geom::NormalsFacing { eu::core::geom::NormalsFacing::In , eu::core::geom::NormalsFacing::Out } |
| The possible directions that normals can face. More... | |
Functions | |
| Builder | eu::core::geom::create_box (float x, float y, float z, NormalsFacing normals_facing, const Rgb &color=colors::white) |
| Creates a box/cube mesh. | |
| Builder | eu::core::geom::create_xz_plane (float x, float z, bool invert, const Rgb &color=colors::white) |
| Builder | eu::core::geom::create_xy_plane (float x, float y, SideCount two_sided, const Rgb &color=colors::white) |
| Builder | eu::core::geom::create_uv_sphere (float diameter, int longitude_count, int latitude_count, NormalsFacing normals_facing, const Rgb &color=colors::white) |
| Creates a UV sphere mesh. | |