This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-02 00:59:02 +02:00

535 B

Class: vec3

Class representing a 3D vector.

Fields (3)

x

x component of the vector.

  • Type: float

y

y component of the vector.

  • Type: float

z

z component of the vector.

  • Type: float

Constructors (1)

new(x, y, z)

Returns a vector that contains the x, y, and z values.

  • Parameters:
    • x (float): x component of the vector.
    • y (float): y component of the vector.
    • z (float): z component of the vector.

Exemple Usage:

myInstance = vec3:new(x, y, z)