Triangle.ixx File
Simple triangle mesh asset with positions, normals, UVs, and indices. More...
Included Headers
#include <array>
#include <span>
#include <helios.math>
#include <helios.engine.rendering.mesh.types.PrimitiveType>
#include <helios.engine.rendering.mesh.types.MeshData>
#include <helios.engine.rendering.common.types.Vertex>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | rendering |
| namespace | mesh |
| namespace | assets |
Classes Index
| struct | Triangle |
|
Static triangle mesh definition. More... | |
Description
Simple triangle mesh asset with positions, normals, UVs, and 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;
19export namespace helios::engine::rendering::mesh::assets {
45 static constexpr PrimitiveType primitiveType = PrimitiveType::Triangles;
52 return MeshData{
53 std::span{vertices},
54 std::span{indices},
63 static helios::math::aabbf boundsData() {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.