Saga
Saga Game Engine
Loading...
Searching...
No Matches
Saga::BoundingVolumeHierarchy::TriangleData Struct Reference

Data on a single triangles in the structure. More...

#include <bvh.h>

Public Attributes

glm::vec3 triangle [3]
 coordinates of the triangle, in CCW order.
 
Entity entity
 the entity the triangle is attached to.
 

Detailed Description

Data on a single triangles in the structure.

Member Data Documentation

◆ entity

Entity Saga::BoundingVolumeHierarchy::TriangleData::entity

the entity the triangle is attached to.

◆ triangle

glm::vec3 Saga::BoundingVolumeHierarchy::TriangleData::triangle[3]

coordinates of the triangle, in CCW order.


The documentation for this struct was generated from the following file: