ScummVM API documentation
Stark::BoneNode Class Reference

Public Member Functions

bool intersectRay (const Math::Ray &ray) const
 
void expandModelSpaceBB (Math::AABB &aabb) const
 

Public Attributes

Common::String _name
 
float _u1
 
Common::Array< uint32 > _children
 
int _parent
 
uint32 _idx
 
Math::Vector3d _animPos
 
Math::Quaternion _animRot
 
Math::AABB _boundingBox
 

Member Function Documentation

◆ intersectRay()

bool Stark::BoneNode::intersectRay ( const Math::Ray &  ray) const

Perform a collision test with the ray

◆ expandModelSpaceBB()

void Stark::BoneNode::expandModelSpaceBB ( Math::AABB &  aabb) const

Expand a bounding box with the model space BB of this bone

Member Data Documentation

◆ _boundingBox

Math::AABB Stark::BoneNode::_boundingBox

Bone space bounding box


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