length
length( vec )
Example
length( vec( 4, 3, 0 ) )
lenght( vec( 0, 0, 20 ) )
angle
angle( vec1, vec2 )
Example
angle( vec( 10, 0, 0 ), vec( 0, 0, 10) )
acos( ( vector1 * vector2 ) / ( length( vector1 ) * length( vector2 ) ) )
cross product
cross( vec1, vec2 )
Example
cross( vec( 10, 0, 0 ), vec( 0, 0, 10 ) )
spat product
spat( vec1, vec2, x )
Example
spat( vec( 10, 0, 0 ), vec( 0, 0, 10 ), 2 )
cross( vector1, vector2 ) * x
distance
distance( vec1, vec2 )
Example
distance( vec( 1, 2, 3 ), vec( 1, 5, 3 ) )
dot product
vec1 * vec2
vector definition
vec( X, Y, Z )
RGBtoHSV and HSVtoRGB
RGBtoHSV( vec )
HSVtoRGB( vec )
XZYtoXYZ etc.
XZYtoXYZ( Rotation )
YXZtoXYZ( Rotation )
YZXtoXYZ( Rotation )
ZXYtoXYZ( Rotation )
ZYXtoXYZ( Rotation )
ZXYtoYXZ( Rotation )
YZXtoZXY( Rotation )
get demo project ZXYtoXYZ.prj
|
|
|