RenderableVertex constructor

RenderableVertex({
  1. Vector3? position,
  2. Vector3? positionWorld,
  3. Vector4? positionScreen,
  4. dynamic visible = true,
})

Implementation

RenderableVertex({
  Vector3? position,
  Vector3? positionWorld,
  Vector4? positionScreen,
  visible = true,
}) {
  this.visible = visible;
  this.position = position ?? Vector3();
  this.positionWorld = positionWorld ?? Vector3();
  this.positionScreen = positionScreen ?? Vector4();
}