OpenBarnyard
 
Loading...
Searching...
No Matches
ANamedAnimation::AAnimationBreakpointSortResult Struct Reference

#include <ANamedAnimation.h>

Public Member Functions

TINT operator() (AAnimationBreakpoint *const &a_rcVal1, AAnimationBreakpoint *const &a_rcVal2) const
 

Detailed Description

Definition at line 100 of file ANamedAnimation.h.

Member Function Documentation

◆ operator()()

TINT ANamedAnimation::AAnimationBreakpointSortResult::operator() ( AAnimationBreakpoint *const & a_rcVal1,
AAnimationBreakpoint *const & a_rcVal2 ) const
inline

Definition at line 104 of file ANamedAnimation.h.

105 {
106 TFLOAT fDiff = a_rcVal1->GetTime() - a_rcVal2->GetTime();
107
108 if ( 0.0f < fDiff )
109 return 1;
110
111 if ( fDiff < 0.0f )
112 return -1;
113
114 return 0;
115 }
float TFLOAT
Definition Typedefs.h:4

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