Vec4_c.kl

Types

Vec4_c (struct)

The Vec4_c type represents a vector with 4 components. The Vec4_c is also used as the row type for the Mat44.

注釈

Vec4_c utilizes the KL ベクタ関数

参考

Vec2, Vec3_c

/*
** Example: Vec4_c
*/

Vec4_c v(0.0, 0.0, 0.0, 0.0);

Members

Complex x  
Complex y  
Complex z  
Complex t  

Methods

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

Operators

Vec4_c = ( Param other )