Skip to content

Float16

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

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

Constructors

Float16()

Float16 mat = new Float16();

Creates a Float16 with internal array values set to 0.


Float16(float v0, float v1 ... float v15)

Float mat = new Float16(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); 

Creates a Float16 with internal array values set to [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15].

Methods

No additional methods available for this data structure

Clone this wiki locally