Skip to content
Calvin Day edited this page Jul 7, 2021 · 1 revision

Float3 is a helper type to be used instead of array return types for *ToFloat functions in RayMath.

Constructors

Float3()

Float3 vec = new Float3();

Creates a Float3 with all internal array values set to 0


Float3(float x, float y, float z)

Float3 vec = new Float3(6.9f,5.2f,4.4f);

Creates a Float3 with internal array values set to [6.9f,5.2f,4.4f]

Methods

No other methods available for this data structure.

Clone this wiki locally