Template Function TRAP::Math::Floor(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::Floor(Vec<L, T> x)#

Find the nearest integer less than or equal to x.

Parameters:

x – Specify the value to evaluate.

Returns:

Value equal to the nearest integer that is less then or equal to x.