code: public Matrix3f scale(float x, float y, float z, Matrix3f dest) {
          // scale matrix elements:
          // m00 = x, m11 = y, m22 = z
          // all others = 0
          dest.m00 = m00 * x;
          dest.m01 = m01 * x;
          dest.m02 = m02 * x;
          dest.m10 = m10 * y;
          dest.m11 = m11 * y;
          dest.m12 = m12 * y;
          dest.m20 = m20 * z;
          dest.m21 = m21 * z;
          dest.m22 = m22 * z;
          return dest;
      }
docs: /* (non-Javadoc)
  @see org.joml.Matrix3fc#scale(float, float, float, org.joml.Matrix3f)