RaylibVectorExtensionBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, Vector2StructType extends Vector2Base<Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>> class abstract

Exposes Raylib's vector math API as module-level functions by delegating to the corresponding Vector2Base/Vector3Base/Vector4Base methods/factories. Exists purely for Raylib API symmetry.

Inheritance

Constructors

RaylibVectorExtensionBase(R rl)

Properties

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

Methods

debug(bool v) → void
Enables or disables debug logging for this module.
inherited
debugError(String message) → void
Logs message at error level if debug is enabled and message passes all filters.
inherited
debugFilter(bool filter(String)) → void
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
debugInfo(String message) → void
Logs message at info level if debug is enabled and message passes all filters.
inherited
debugTime(bool v) → void
Enables or disables per-call timing output alongside debug logs.
inherited
debugWarn(String message) → void
Logs message at warn level if debug is enabled and message passes all filters.
inherited
disableSync<T>(T f()) → T
Executes f with RaylibTempBase syncing temporarily disabled, restoring the previous sync state afterward.
inherited
dispose() → void
Calls all registered onDispose callbacks and clears them.
inherited
doLoad() → void
Ensures load is called exactly once, regardless of how many times doLoad is invoked.
inherited
load() → void
Override to perform one-time module initialization. Called by doLoad.
inherited
logError(Object? message) → void
inherited
logInfo(Object? message) → void
inherited
logWarn(Object? message) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void fn()) → void
Registers fn to be called when this module is disposed.
inherited
run<T>(String name(), T f()) → T
Executes f, logging its label (and optionally timing it) when debug is enabled and the label passes all filters.
inherited
toString() String
A string representation of this object.
inherited
Vector2Add(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2AddValue(Vector2StructType v, double add) → Vector2StructType
Vector2Angle(Vector2StructType v1, Vector2StructType v2) double
Vector2Clamp(Vector2StructType v, Vector2StructType min, Vector2StructType max) → Vector2StructType
Vector2ClampValue(Vector2StructType v, double min, double max) → Vector2StructType
Vector2Distance(Vector2StructType v1, Vector2StructType v2) double
Vector2DistanceSqr(Vector2StructType v1, Vector2StructType v2) double
Vector2Divide(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2DotProduct(Vector2StructType v1, Vector2StructType v2) double
Vector2Equals(Vector2StructType p, Vector2StructType q) bool
Vector2Invert(Vector2StructType v) → Vector2StructType
Vector2Length(Vector2StructType v) double
Vector2LengthSqr(Vector2StructType v) double
Vector2Lerp(Vector2StructType v1, Vector2StructType v2, double amount) → Vector2StructType
Vector2LineAngle(Vector2StructType start, Vector2StructType end) double
Vector2Max(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2Min(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2MoveTowards(Vector2StructType v, Vector2StructType target, double maxDistance) → Vector2StructType
Vector2Multiply(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2Negate(Vector2StructType v) → Vector2StructType
Vector2Normalize(Vector2StructType v) → Vector2StructType
Vector2Reflect(Vector2StructType v, Vector2StructType normal) → Vector2StructType
Vector2Refract(Vector2StructType v, Vector2StructType n, double r) → Vector2StructType
Vector2Rotate(Vector2StructType v, double angle) → Vector2StructType
Vector2Scale(Vector2StructType v, double scale) → Vector2StructType
Vector2Subtract(Vector2StructType v1, Vector2StructType v2) → Vector2StructType
Vector2SubtractValue(Vector2StructType v, double sub) → Vector2StructType
Vector2Transform(Vector2StructType v, MatrixStructType mat) → Vector2StructType
Vector3Add(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3AddValue(Vector3StructType v, double add) → Vector3StructType
Vector3Angle(Vector3StructType v1, Vector3StructType v2) double
Vector3Barycenter(Vector3StructType p, Vector3StructType a, Vector3StructType b, Vector3StructType c) → Vector3StructType
Vector3Clamp(Vector3StructType v, Vector3StructType min, Vector3StructType max) → Vector3StructType
Vector3ClampValue(Vector3StructType v, double min, double max) → Vector3StructType
Vector3CrossProduct(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3CubicHermite(Vector3StructType v1, Vector3StructType tangent1, Vector3StructType v2, Vector3StructType tangent2, double amount) → Vector3StructType
Vector3Distance(Vector3StructType v1, Vector3StructType v2) double
Vector3DistanceSqr(Vector3StructType v1, Vector3StructType v2) double
Vector3Divide(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3DotProduct(Vector3StructType v1, Vector3StructType v2) double
Vector3DSubtract(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3Equals(Vector3StructType p, Vector3StructType q) bool
Vector3Invert(Vector3StructType v) → Vector3StructType
Vector3Length(Vector3StructType v) double
Vector3LengthSqr(Vector3StructType v) double
Vector3Lerp(Vector3StructType v1, Vector3StructType v2, double amount) → Vector3StructType
Vector3Max(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3Min(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3MoveTowards(Vector3StructType v, Vector3StructType target, double maxDistance) → Vector3StructType
Vector3Multiply(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3Negate(Vector3StructType v) → Vector3StructType
Vector3Normalize(Vector3StructType v) → Vector3StructType
Vector3OrthoNormalize(Vector3StructType v1, Vector3StructType v2) → void
Vector3Perpendicular(Vector3StructType v) → Vector3StructType
Vector3Project(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3Reflect(Vector3StructType v, Vector3StructType normal) → Vector3StructType
Vector3Refract(Vector3StructType v, Vector3StructType n, double r) → Vector3StructType
Vector3Reject(Vector3StructType v1, Vector3StructType v2) → Vector3StructType
Vector3RotateByAxisAngle(Vector3StructType v, Vector3StructType axis, double angle) → Vector3StructType
Vector3RotateByQuaternion(Vector3StructType v, QuaternionStructType q) → Vector3StructType
Vector3Scale(Vector3StructType v, double scalar) → Vector3StructType
Vector3SubtractValue(Vector3StructType v, double sub) → Vector3StructType
Vector3Transform(Vector3StructType v, MatrixStructType mat) → Vector3StructType
Vector3Unproject(Vector3StructType source, MatrixStructType projection, MatrixStructType view) → Vector3StructType
Vector4Add(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4AddValue(Vector4StructType v, double add) → Vector4StructType
Vector4Distance(Vector4StructType v1, Vector4StructType v2) double
Vector4DistanceSqr(Vector4StructType v1, Vector4StructType v2) double
Vector4Divide(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4DotProduct(Vector4StructType v1, Vector4StructType v2) double
Vector4Equals(Vector4StructType p, Vector4StructType q) bool
Vector4Invert(Vector4StructType v) → Vector4StructType
Vector4Length(Vector4StructType v) double
Vector4LengthSqr(Vector4StructType v) double
Vector4Lerp(Vector4StructType v1, Vector4StructType v2, double amount) → Vector4StructType
Vector4Max(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4Min(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4MoveTowards(Vector4StructType v, Vector4StructType target, double maxDistance) → Vector4StructType
Vector4Multiply(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4Negate(Vector4StructType v) → Vector4StructType
Vector4Normalize(Vector4StructType v) → Vector4StructType
Vector4Scale(Vector4StructType v, double scale) → Vector4StructType
Vector4Subtract(Vector4StructType v1, Vector4StructType v2) → Vector4StructType
Vector4SubtractValue(Vector4StructType v, double sub) → Vector4StructType

Operators

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