Readonly_vThe underlying typed array containing vector components
ReadonlybytesNumber of bytes per component in the underlying array
ReadonlyclassThe class name identifier
ReadonlyglslGLSL string representation for float type
ReadonlyglslGLSL string representation for integer type
ReadonlywgslWGSL string representation for float type
ReadonlywgslWGSL string representation for integer type
ReadonlyxThe x component of the vector
Calculates the dot product with another vector.
The other vector
The dot product result
Checks if this vector is equal to another vector within a tolerance.
The vector to compare with
Optionaldelta: numberOptional tolerance value (default: small epsilon)
True if vectors are approximately equal
Checks if this vector is strictly equal to another vector.
The vector to compare with
True if vectors are exactly equal
Calculates the distance to another vector.
The target vector
The distance between vectors
Base interface for immutable vector types. Provides common read-only operations for vector mathematics.