◆ ksQuaternion() [1/3]
  
  
      
        
          | KS::ksQuaternion::ksQuaternion  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ ksQuaternion() [2/3]
◆ ksQuaternion() [3/3]
  
  
      
        
          | KS::ksQuaternion::ksQuaternion  | 
          ( | 
          Scalar  | 
          x,  | 
         
        
           | 
           | 
          Scalar  | 
          y,  | 
         
        
           | 
           | 
          Scalar  | 
          z,  | 
         
        
           | 
           | 
          Scalar  | 
          w  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~ksQuaternion()
  
  
      
        
          | KS::ksQuaternion::~ksQuaternion  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ AddAngularDisplacementRadians()
◆ Dot()
Dot product of two ksQuaternions.
- Parameters
 - 
  
  
 
- Returns
 - Scalar 
 
 
 
◆ FromAxisAngle()
◆ FromAxisAngleRadians()
◆ FromVectorDelta()
◆ GetFirstNonZeroComponentSign()
  
  
      
        
          | bool KS::ksQuaternion::GetFirstNonZeroComponentSign  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Return first nonzero component's sign. If all components are zeros, return true.
- Returns
 - bool 
 
 
 
◆ Inverse()
◆ Normalize()
  
  
      
        
          | void KS::ksQuaternion::Normalize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator!=()
Not equivalence.
- Parameters
 - 
  
  
 
- Returns
 - bool 
 
 
 
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator*=()
◆ operator-()
◆ operator==()
Equivalence.
- Parameters
 - 
  
  
 
- Returns
 - bool 
 
 
 
◆ Slerp()
Spherically interpolates between two ksQuaternions.
- Parameters
 - 
  
    | ksQuaternion& | from - ksQuaternion to interpolate from.  | 
    | ksQuaternion& | to - ksQuaternion to interpolate to.  | 
    | float | t - value between 0 and 1 that determines the amount of interpolation.  | 
  
   
- Returns
 - ksQuaternion interpolated ksQuaternion. 
 
 
 
◆ ToAxisAngle()
  
  
      
        
          | void KS::ksQuaternion::ToAxisAngle  | 
          ( | 
          ksVector3 &  | 
          axis,  | 
         
        
           | 
           | 
          float &  | 
          angle  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Converts the ksQuaternion to axis-angle representation.
- Parameters
 - 
  
    | ksVector3 | &axis of rotation.  | 
    | float | &angle of rotation in degrees.  | 
  
   
 
 
◆ ToAxisAngleRadians()
  
  
      
        
          | void KS::ksQuaternion::ToAxisAngleRadians  | 
          ( | 
          ksVector3 &  | 
          axis,  | 
         
        
           | 
           | 
          float &  | 
          angle  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Converts the ksQuaternion to axis-angle representation.
- Parameters
 - 
  
    | ksVector3 | &axis of rotation.  | 
    | float | &angle of rotation in radians.  | 
  
   
 
 
◆ ToString()
  
  
      
        
          | std::string KS::ksQuaternion::ToString  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
String
- Returns
 - std::string 
 
 
 
◆ TransformVector()
◆ Vec()
The documentation for this class was generated from the following file: