Logo: Relish

  1. Sign in

Project: Three-rb

GL utility data structures

As a developer
I want recurring sets of GL functions abstracted
To save time and improve readability

Scenarios
Use Vector3
Given
I create a 3D vector
Then
it creates a default 3D vector
Step through Vertex3 arrays
Given
I create an array of 6 3D vectors
Combine Vertex3 arrays
Given
I create two distinct arrays of 6 3D vectors
When
I merge those vectors
Then
the resulting array has 12 vectors
And
they are in the correct order
Use Vector2
Given
I create a 2D vector
Then
it creates a default 2D vector

Last published about 5 years ago by JScott.