setPositionFromVector3 method

Matrix4 setPositionFromVector3(
  1. Vector3 x
)

Implementation

Matrix4 setPositionFromVector3(Vector3 x) {
  final te = storage;

  te[12] = x.x.toDouble();
  te[13] = x.y.toDouble();
  te[14] = x.z.toDouble();

  return this;
}