Cube.ixx File
Unit-cube mesh asset with positions, normals, UVs, and indexed triangles. More...
Included Headers
#include <span>
#include <array>
#include <helios.engine.rendering.mesh.types.MeshData>
#include <helios.engine.rendering.mesh.types.PrimitiveType>
#include <helios.engine.rendering.common.types.Vertex>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | rendering |
| namespace | mesh |
| namespace | assets |
Classes Index
| struct | Cube |
|
Static cube mesh definition with per-face vertices. More... | |
Description
Unit-cube mesh asset with positions, normals, UVs, and indexed triangles.
File Listing
The file content with the documentation metadata removed is:
16using namespace helios::engine::rendering::common::types;
17using namespace helios::engine::rendering::mesh::types;
18export namespace helios::engine::rendering::mesh::assets {
92 static constexpr helios::engine::rendering::mesh::types::PrimitiveType primitiveType = mesh::types::PrimitiveType::Triangles;
100 return MeshData{
101 std::span{vertices},
102 std::span{indices},
103 primitiveType
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.