Luna::Float3::operator*=

Float3 & operator*=(f32 s)

Multiplies this vector with one scalar, and stores the result to this vector.

This function performs the following operations:

this->[x](struct_luna_1_1_float3_1a6b05cac69c0301ab972c27ce208373be.md) *= [s](group___h_i_d_1gga912f74cfa86bfd7af0ee6bb9010eba51a03c7c0ace395d80182db07ae2c30f034.md);
this->[y](struct_luna_1_1_float3_1ab7291adeb8828a0cba3aedf332c2053d.md) *= [s](group___h_i_d_1gga912f74cfa86bfd7af0ee6bb9010eba51a03c7c0ace395d80182db07ae2c30f034.md);
this->[z](struct_luna_1_1_float3_1aac280fcf3516d20b5e3dec5fa770ac50.md) *= [s](group___h_i_d_1gga912f74cfa86bfd7af0ee6bb9010eba51a03c7c0ace395d80182db07ae2c30f034.md);

Parameters

  • in s

    The scalar to multiply.

Return value

Returns *this.