Instance Methodheckj.voxels 0.2.6Voxels
addQuadPoints(p1:p2:p3:p4:)
Adds a quad, split along the shorter axis, into the mesh buffer.
mutating func addQuadPoints(p1: SIMD3<Float>, p2: SIMD3<Float>, p3: SIMD3<Float>, p4: SIMD3<Float>)
Parameters
The points of the Quad, viewed face-front, are ‘wound’ in the following order:
v1 v3
| /|
|/ |
v2 v4