fma

inline fun Float.fma(a: Float, b: Float): Float

Return

this + a * b


inline fun Double.fma(a: Double, b: Double): Double

Return

this + a * b


fun Vec3.fma(scale: Double, other: Vec3): Vec3

Return

this + scale * other