fennec
Loading...
Searching...
No Matches
Scalars

The base scalar types of the fennec Math Library.

the Scalars

The fennec Library considers any type that passes is_arithmetic<T> to be a Scalar. Bools are supported as a logical type.

The GLSL Specification, and fennec respectively, defines the following scalar types:

Type Corresponding Type Meaning
bool fennec::bool_t " A conditional type.
int fennec::int_t A signed integer type, size varies by implementation, but typically 32-bit.
uint fennec::uint_t An unsigned integer type, size varies by implementation, but typically 32-bit.
float fennec::float_t A single-precision floating-point type, typically with a size of 32-bits.
double fennec::double_t A double-precision floating-point type, typically with a size of 64-bits.