Vec4_cd.kl

Types

Vec4_cd (struct)

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

注釈

Vec4_cd utilizes the KL ベクタ関数

参考

Vec2, Vec3_cd

/*
** Example: Vec4_cd
*/

Vec4_cd v(0.0, 0.0, 0.0, 0.0);

Members

Complex_d x  
Complex_d y  
Complex_d z  
Complex_d t  

Methods

  Vec4_cd ( in Complex_d value )
  Vec4_cd ( in Complex_d x, in Complex_d y, in Complex_d z, in Complex_d t )
  Vec4_cd ( in Vec4_cd other )
  Vec4_cd ()
Vec4_cd add ? ( in Vec4_cd other )
Boolean almostEqual ? ( in Vec4_cd other )
Boolean almostEqual ? ( in Vec4_cd other, in Float32 precision )
Vec4_cd clone ? ()
Complex_d component ? ( in Size i )
Complex_d distanceTo ? ( in Vec4_cd other )
Vec4_cd divide ? ( in Vec4_cd other )
Vec4_cd divideComplex_d ? ( in Complex_d other )
Complex_d dot ? ( in Vec4_cd other )
Boolean equal ? ( in Vec4_cd other )
UInt32 hash ? ()
Vec4_cd inverse ? ()
Complex_d length ? ()
Complex_d lengthSquared ? ()
Vec4_cd linearInterpolate ? ( in Vec4_cd other, in Complex_d t )
Vec3_cd makeHomogeneousVec3_cd ? ()
Vec4_cd multiply ? ( in Vec4_cd other )
Vec4_cd multiplyComplex_d ? ( in Complex_d other )
Vec4_cd negate ? ()
  normalize ! ()
  set ! ( in Complex_d value )
  set ! ( in Complex_d x, in Complex_d y, in Complex_d z, in Complex_d t )
  set ! ( in Vec3_cd v )
  setComponent ! ( in Size i, in Complex_d v )
  setNull ! ()
Complex_d setUnit ! ()
Vec4_cd subtract ? ( in Vec4_cd other )
Vec3_cd toVec3_cd ? ()
Vec4_cd unit ? ()
Vec3_cd xyz ? ()

Operators

Vec4_cd = ( Param other )