UShader Engine Wikia
Advertisement
Ceil

Name[]

Ceil - returns smallest integer not less than a scalar or each vector component.

Synopsis[]

vector1 ceil(vector1 a);
vector2 ceil(vector2 a);
vector3 ceil(vector3 a);
vector4 ceil(vector4 a);

Parameters[]

a
Vector or scalar of which to determine the ceiling.

Description[]

Returns the ceiling or smallest integer not less than a scalar or each vector component.

Advertisement