normal method

GeometryBuilder normal(
  1. Vector3 value
)

Sets the normal applied to vertices added after this call.

Authoring any normal opts the whole mesh out of generated normals; vertices added without an explicit normal keep the default (0, 0, 1).

Implementation

GeometryBuilder normal(Vector3 value) {
  _normal = value.clone();
  _normalsAuthored = true;
  return this;
}