BBMOD_Vec4.ScaleSelf

A function defined in BBMOD_Vec4.gml

ScaleSelf(_s)

Description

Scales each component of the vector by _s and stores the result into self.

Arguments

Name Type Description
_s Real The value to scale the components by.

Returns

Struct.BBMOD_Vec4 Returns self.

Example

// => BBMOD_Vec4(2.0, 4.0, 6.0, 8.0):
new BBMOD_Vec4(1.0, 2.0, 3.0, 4.0).ScaleSelf(2.0);
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.