std.geom.Vec3.Blend - nitrologic/monkey2 GitHub Wiki

std::std.geom.std.geom.Vec3.Blend

Method Blend:std:std.geom.Vec3( v:std:std.geom.Vec3,alpha:monkey:monkey.types.Double )

Blends the vec3 with another vec3.

Components are linearly blended using alpha as a weighting factor.

If alpha is 0, self is returned.

If alpha is 1, v is returned.