Index
Modules:
prettyvec/vec2/types
,
prettyvec/vec2/vec2_math
,
prettyvec/vec3/types
,
prettyvec/vec3/vec3_math
.
API symbols
`*`:
vec2_math: `*`(a: Vec2Obj; b: float): Vec2Obj
vec2_math: `*`(a, b: Vec2Obj): Vec2Obj
vec3_math: `*`(a: Vec3Obj; b: float): Vec3Obj
vec3_math: `*`(a, b: Vec3Obj): Vec3Obj
`+`:
vec2_math: `+`(a: Vec2Obj; b: float): Vec2Obj
vec2_math: `+`(a, b: Vec2Obj): Vec2Obj
vec3_math: `+`(a: Vec3Obj; b: float): Vec3Obj
vec3_math: `+`(a, b: Vec3Obj): Vec3Obj
`-`:
vec2_math: `-`(a: Vec2Obj; b: float): Vec2Obj
vec2_math: `-`(a, b: Vec2Obj): Vec2Obj
vec3_math: `-`(a: Vec3Obj; b: float): Vec3Obj
vec3_math: `-`(a, b: Vec3Obj): Vec3Obj
`/`:
vec2_math: `/`(a: Vec2Obj; b: float): Vec2Obj
vec2_math: `/`(a, b: Vec2Obj): Vec2Obj
vec3_math: `/`(a: Vec3Obj; b: float): Vec3Obj
vec3_math: `/`(a, b: Vec3Obj): Vec3Obj
`==`:
vec2_math: `==`(a, b: Vec2Obj): bool
vec3_math: `==`(a, b: Vec3Obj): bool
abs:
vec2_math: abs(a: Vec2Obj): Vec2Obj
vec3_math: abs(a: Vec3Obj): Vec3Obj
angleTo:
vec2_math: angleTo(a, b: Vec2Obj): float
vec3_math: angleTo(a, b: Vec3Obj): float
cross:
vec3_math: cross(a, b: Vec3Obj): float
directionTo:
vec2_math: directionTo(a, b: Vec2Obj): Vec2Obj
vec3_math: directionTo(a, b: Vec3Obj): Vec3Obj
distance:
vec2_math: distance(a, b: Vec2Obj): float
vec3_math: distance(a, b: Vec3Obj): float
dot:
vec2_math: dot(a, b: Vec2Obj): float
vec3_math: dot(a, b: Vec3Obj): float
initVec2:
types: initVec2(): Vec2Obj
types: initVec2(xy: float): Vec2Obj
types: initVec2(x, y: float): Vec2Obj
initVec3:
types: initVec3(): Vec3Obj
types: initVec3(xyz: float): Vec3Obj
types: initVec3(x, y, z: float): Vec3Obj
len:
vec2_math: len(a: Vec2Obj): float
vec3_math: len(a: Vec3Obj): float
newVec2:
types: newVec2(): Vec2Ref
types: newVec2(xy: float): Vec2Ref
types: newVec2(x, y: float): Vec2Ref
newVec3:
types: newVec3(): Vec3Ref
types: newVec3(xyz: float): Vec3Ref
types: newVec3(x, y, z: float): Vec3Ref
norm:
vec2_math: norm(a: Vec2Obj): Vec2Obj
vec3_math: norm(a: Vec3Obj): Vec3Obj
pow:
vec2_math: pow(a: Vec2Obj; power: float): Vec2Obj
vec3_math: pow(a: Vec3Obj; power: float): Vec3Obj
rotate:
vec2_math: rotate(a: Vec2Obj; angle: float): Vec2Obj
sqrt:
vec2_math: sqrt(a: Vec2Obj): Vec2Obj
vec3_math: sqrt(a: Vec3Obj): Vec3Obj
vec2:
types: vec2(): Vec2Obj
types: vec2(xy: float): Vec2Obj
types: vec2(x, y: float): Vec2Obj
Vec2Obj:
types: Vec2Obj
Vec2Ref:
types: Vec2Ref
vec3:
types: vec3(): Vec3Obj
types: vec3(xyz: float): Vec3Obj
types: vec3(x, y, z: float): Vec3Obj
Vec3Obj:
types: Vec3Obj
Vec3Ref:
types: Vec3Ref