Fove SDK  v1.1.0
Public Attributes | List of all members
Fove_ObjectCollider Struct Reference

Represents a colliding part of a gazable object. More...

#include <FoveAPI.h>

Collaboration diagram for Fove_ObjectCollider:
Collaboration graph
[legend]

Public Attributes

Fove_Vec3 center = {}
 The offset of the collider center collider raw shape.
 
union {
   Fove_ColliderCube   cube
 
   Fove_ColliderMesh   mesh
 
   Fove_ColliderSphere   sphere
 
shapeDefinition = {}
 The definition of the collider shape. It should be interpreted accordingly to shapeType.
 
Fove_ColliderType shapeType = {}
 The shape type of the collider.
 

Detailed Description

Represents a colliding part of a gazable object.

Colliders are used to calculate intersection between gaze rays and gazable objects