Vec3_c.kl

Types

Vec3_c (struct)

The Vec3_c type represents a vector with 3 components. The Vec3_c is also used as the row type for the Mat33.

注釈

Vec3_c utilizes the KL ベクタ関数

参考

Vec2, Vec4, Xfo

/*
** Example: Vec3_c
*/

Vec3_c v(0.0, 0.0, 0.0);

Members

Complex x  
Complex y  
Complex z  

Methods

  Vec3_c ( in Complex value )
  Vec3_c ( in Complex x, in Complex y, in Complex z )
  Vec3_c ( in Vec3_c other )
  Vec3_c ()
Vec3_c add ? ( in Vec3_c other )
Boolean almostEqual ? ( in Vec3_c other )
Boolean almostEqual ? ( in Vec3_c other, in Float32 precision )
Vec3_c clone ? ()
Complex component ? ( in Size i )
Vec3_c cross ? ( in Vec3_c other )
Complex distanceTo ? ( in Vec3_c other )
Vec3_c divide ? ( in Vec3_c other )
Vec3_c divideComplex ? ( in Complex other )
Complex dot ? ( in Vec3_c other )
Boolean equal ? ( in Vec3_c other )
UInt32 hash ? ()
Vec3_c inverse ? ()
Complex length ? ()
Complex lengthSquared ? ()
Vec3_c linearInterpolate ? ( in Vec3_c other, in Complex t )
Vec3_c multiply ? ( in Vec3_c other )
Vec3_c multiplyComplex ? ( in Complex other )
Vec3_c negate ? ()
  normalize ! ()
Vec3_c safeInverse ? ()
  set ! ( in Complex value )
  set ! ( in Complex x, in Complex y, in Complex z )
  setComponent ! ( in Size i, in Complex v )
  setNull ! ()
Complex setUnit ! ()
Vec3_c subtract ? ( in Vec3_c other )
Vec3_c unit ? ()
Vec3_c unit_safe ? ()

Operators

  - Vec3_c
Vec3_c = ( Param other )