Photon Fusion 2.0.3

Public Attributes | Static Public Attributes | List of all members
Maths.FastAbs Struct Reference

Represents a structure that allows quick setting of the sign bit of floats using field offsets. More...

Public Attributes

float Single
 The single-precision floating-point number. More...
 
uint UInt32
 The unsigned integer representation of the float. More...
 

Static Public Attributes

const uint Mask = 0x7FFFFFFF
 The mask used to clear the sign bit of a float. More...
 

Detailed Description

Represents a structure that allows quick setting of the sign bit of floats using field offsets.

Member Data Documentation

◆ Mask

const uint Mask = 0x7FFFFFFF
static

The mask used to clear the sign bit of a float.

◆ Single

float Single

The single-precision floating-point number.

◆ UInt32

uint UInt32

The unsigned integer representation of the float.