分类:类型
二维双精度向量。
DVec2 DVec3 DVec4
Doubles in two, three or four components.
DVec2
abs(x: DVec2)
acos(x: DVec2)
asin(x: DVec2)
atan(x: DVec2)
ceil(x: DVec2)
clamp(x: DVec2, low: Double, high: Double)
clamp(x: DVec2, low: DVec2, high: DVec2)
cos(x: DVec2)
cosh(x: DVec2)
DMat2
dmat2(c0: DVec2, c1: DVec2)
double(x: Vec2)
double(x: IVec2)
double(x: LVec2)
dvec2(x: Double, y: Double)
DVec3
dvec3(xy: DVec2, z: Double)
exp(x: DVec2)
exp2(x: DVec2)
Vec2
float(x: DVec2)
floor(x: DVec2)
fma(a: DVec2, b: DVec2, c: DVec2)
fract(x: DVec2)
IVec2
int(x: DVec2)
log(x: DVec2)
log2(x: DVec2)
LVec2
long(x: DVec2)
max(a: DVec2, b: Double)
max(a: DVec2, b: DVec2)
min(a: DVec2, b: Double)
min(a: DVec2, b: DVec2)
mix(a: DVec2, b: DVec2, t: Double)
mix(a: DVec2, b: DVec2, t: DVec2)
pow(base: DVec2, exponent: Double)
pow(base: DVec2, exponent: DVec2)
round(x: DVec2)
sign(x: DVec2)
sin(x: DVec2)
sinh(x: DVec2)
smoothstep(low: Double, high: Double, x: DVec2)
smoothstep(low: DVec2, high: DVec2, x: DVec2)
sqrt(x: DVec2)
step(edge: Double, x: DVec2)
step(edge: DVec2, x: DVec2)
tan(x: DVec2)
tanh(x: DVec2)
trunc(x: DVec2)