Vec4_d.kl¶
Types¶
Vec4_d (struct)¶
The Vec4_d type represents a vector with 4 components. The Vec4_d is also used as the row type for the Mat44.
注釈
Vec4_d utilizes the KL ベクタ関数
/*
** Example: Vec4_d
*/
Vec4_d v(0.0, 0.0, 0.0, 0.0);
Methods¶
Vec4_d ( in Float64 value ) | |
Vec4_d ( in Float64 x, in Float64 y, in Float64 z, in Float64 t ) | |
Vec4_d ( in Vec4_d other ) | |
Vec4_d () | |
Vec4_d | add ? ( in Vec4_d other ) |
Boolean | almostEqual ? ( in Vec4_d other ) |
Boolean | almostEqual ? ( in Vec4_d other, in Float64 precision ) |
Float64 | angleTo ? ( in Vec4_d other ) |
Vec4_d | clamp ? ( in Vec4_d min, in Vec4_d max ) |
Vec4_d | clone ? () |
Float64 | component ? ( in Size i ) |
Float64 | distanceTo ? ( in Vec4_d other ) |
Vec4_d | divide ? ( in Vec4_d other ) |
Vec4_d | divideFloat64 ? ( in Float64 other ) |
Float64 | dot ? ( in Vec4_d other ) |
Boolean | equal ? ( in Vec4_d other ) |
get ? ( io Float32 v<> ) | |
get ? ( io Float32 v<>, in UInt32 o ) | |
get ? ( io Float32 v[] ) | |
get ? ( io Float32 v[], in UInt32 o ) | |
get ? ( io Float64 v<> ) | |
get ? ( io Float64 v<>, in UInt32 o ) | |
get ? ( io Float64 v[] ) | |
get ? ( io Float64 v[], in UInt32 o ) | |
UInt32 | hash ? () |
Vec4_d | inverse ? () |
Float64 | length ? () |
Float64 | lengthSquared ? () |
Vec4_d | linearInterpolate ? ( in Vec4_d other, in Float64 t ) |
Vec3_d | makeHomogeneousVec3_d ? () |
Vec4_d | multiply ? ( in Vec4_d other ) |
Vec4_d | multiplyFloat64 ? ( in Float64 other ) |
Vec4_d | negate ? () |
normalize ! () | |
set ! ( in Float32 v<> ) | |
set ! ( in Float32 v<>, in UInt32 o ) | |
set ! ( in Float64 v<> ) | |
set ! ( in Float64 v<>, in UInt32 o ) | |
set ! ( in Float64 value ) | |
set ! ( in Float64 x, in Float64 y, in Float64 z, in Float64 t ) | |
set ! ( in Vec3_d v ) | |
setComponent ! ( in Size i, in Float64 v ) | |
setNull ! () | |
Float64 | setUnit ! () |
Vec4_d | subtract ? ( in Vec4_d other ) |
Vec3_d | toVec3_d ? () |
Vec4_d | unit ? () |
Float64 | unitsAngleTo ? ( in Vec4_d other ) |
Vec3_d | xyz ? () |