WireframeCube.ixx File
Simple wireframe cube mesh asset with positions, normals, UVs, and line indices. More...
Included Headers
#include <array>
#include <span>
#include <helios.engine.rendering.mesh.types.PrimitiveType>
#include <helios.engine.rendering.mesh.types.MeshData>
#include <helios.math>
#include <helios.engine.rendering.common.types.Vertex>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | rendering |
| namespace | mesh |
| namespace | assets |
Classes Index
| struct | WireframeCube |
|
Static wireframe cube mesh definition. More... | |
Description
Simple wireframe cube mesh asset with positions, normals, UVs, and line indices.
File Listing
The file content with the documentation metadata removed is:
17using namespace helios::engine::rendering::common::types;
18using namespace helios::engine::rendering::mesh::types;
20export namespace helios::engine::rendering::mesh::assets {
28 struct WireframeCube {
76 static constexpr PrimitiveType primitiveType = PrimitiveType::Lines;
83 return MeshData{
84 std::span{vertices},
85 std::span{indices},
94 static helios::math::aabbf boundsData() {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.