Luna::Float2::operator-=
Float2 & operator-=(f32 s)
Subtracts this vector with one scalar, and stores the result to this vector.
This function performs the following operations:
this->[x](struct_luna_1_1_float2_1a6b05cac69c0301ab972c27ce208373be.md) -= [s](group___h_i_d_1gga912f74cfa86bfd7af0ee6bb9010eba51a03c7c0ace395d80182db07ae2c30f034.md);
this->[y](struct_luna_1_1_float2_1ab7291adeb8828a0cba3aedf332c2053d.md) -= [s](group___h_i_d_1gga912f74cfa86bfd7af0ee6bb9010eba51a03c7c0ace395d80182db07ae2c30f034.md);
Parameters
-
in s
The scalar to subtract.
Return value
Returns *this
.