ScummVM API documentation
Titanic::COrientationChanger Class Reference

Public Member Functions

void load (const FMatrix &minOrient, const FMatrix &maxOrient)
 
FMatrix getOrientation (double percent)
 

Public Attributes

FMatrix _minOrient
 
FMatrix _maxOrient
 
CMatrixTransform _sub1
 
CMatrixTransform _sub2
 

Member Function Documentation

◆ load()

void Titanic::COrientationChanger::load ( const FMatrix minOrient,
const FMatrix maxOrient 
)

Loads the constraints for the minimum and maximum orientation

◆ getOrientation()

FMatrix Titanic::COrientationChanger::getOrientation ( double  percent)

Returns the orientation for a given percentage between the two extremes

Parameters
percentPercentage transition 0.0 to 1.0
Returns
New orientation for the given percentage between the two

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