project

fun project(base: Vec3): Vec3(source)

Calculate the projection of this vector onto another vector.

Return

The projection of this vector onto the other vector.

Parameters

base

The vector onto which to project this vector.