Transformation constructor

Transformation({
  1. Vec3 right_rotation = (0, 0, 0),
  2. Vec3 left_rotation = (0, 0, 0),
  3. Vec3 scale = (1, 1, 1),
  4. Vec3 translation = (0, 0, 0),
})

An object describing the scale, rotation and translation

Implementation

Transformation({
  this.right_rotation = (0, 0, 0),
  this.left_rotation = (0, 0, 0),
  this.scale = (1, 1, 1),
  this.translation = (0, 0, 0),
});