Reciprocal

The reciprocal operation (1/x) calculates the multiplicative inverse of a number.

Produces 0 if the input is 0. With a vec2 input, this applies separately to the X and Y components.

Interface

Inputs

ParameterDetailsPossible Types
Value

The number for which the reciprocal is calculated.

Primary Input

Vec2[]
Vec2
f32[]
f32
f64[]
f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]
Vec2
Vec2[]