RaylibFunctions class

Pure Dart implementations of Raylib's inline/math utility functions, shared across backends to avoid duplicating logic that doesn't touch native memory.

Constructors

RaylibFunctions()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

Clamp(num value, num min, num max) double
Clamps value to the range [min, max].
FloatEquals(double x, double y) bool
Returns true if x and y are approximately equal.
Lerp(num start, num end, num amount) double
Linear interpolation between start and end by amount.
Normalize(num value, num start, num end) double
Normalizes value from the range [start, end] to [0.0, 1.0].
Remap(num value, num inputStart, num inputEnd, num outputStart, num outputEnd) double
Remaps value from the input range [inputStart, inputEnd] to the output range [outputStart, outputEnd].
Wrap(num value, num min, num max) double
Wraps value within the range [min, max].