floor method
The components of this vector are rounded down to the nearest integer value.
Implementation
Vector3 floor() {
x = x.floor().toDouble();
y = y.floor().toDouble();
z = z.floor().toDouble();
return this;
}
The components of this vector are rounded down to the nearest integer value.
Vector3 floor() {
x = x.floor().toDouble();
y = y.floor().toDouble();
z = z.floor().toDouble();
return this;
}