unitZ

inline fun <T : Number, Comparable<T>> unitZ(): Vec3<T>

Returns a standard unit vector in the direction of Z axis.

Since

v2.0.0


fun <T : Number, Comparable<T>> unitZ(type: KClass<T>): Vec3<T>

Returns a standard unit vector in the direction of Z axis with coordinates of given type.

Since

v2.0.0


Deprecated

Use Vec3.unitZ() instead.

Replace with

Vec3.unitZ<Float>()

A standard unit vector in the direction of Z axis.