/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="x"> /// A <see cref="Double"/> holding the scaling factor on X axis. /// </param> /// <param name="y"> /// A <see cref="Double"/> holding the scaling factor on Y axis. /// </param> /// <param name="z"> /// A <see cref="Double"/> holding the scaling factor on Z axis. /// </param> public void Scale(float x, float y, float z) { ModelMatrix matrix = new ModelMatrix(); matrix.SetScale(x, y, z); Set(this * matrix); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="Vertex3f"/> holding the scaling factors on three dimensions. /// </param> public void Scale(Vertex3f s) { ModelMatrix matrix = new ModelMatrix(); matrix.SetScale(s); Set(this * matrix); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="Vertex3f"/> holding the scaling factors on three dimensions. /// </param> public void Scale(Vertex3f s) { ModelMatrix scaleModel = new ModelMatrix(); scaleModel.SetScale(s); Set(this * scaleModel); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="Single"/> holding the scaling factor on X, Y and Z axes. /// </param> public void Scale(float s) { ModelMatrix matrix = new ModelMatrix(); matrix.SetScale(s); Set(this * matrix); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="x"> /// A <see cref="Double"/> holding the scaling factor on X axis. /// </param> /// <param name="y"> /// A <see cref="Double"/> holding the scaling factor on Y axis. /// </param> /// <param name="z"> /// A <see cref="Double"/> holding the scaling factor on Z axis. /// </param> public void Scale(float x, float y, float z) { ModelMatrix scaleModel = new ModelMatrix(); scaleModel.SetScale(x, y, z); Set(this * scaleModel); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="Single"/> holding the scaling factor on X, Y and Z axes. /// </param> public void Scale(float s) { ModelMatrix scaleModel = new ModelMatrix(); scaleModel.SetScale(s); Set(this * scaleModel); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="x"> /// A <see cref="System.Double"/> holding the scaling factor on X axis. /// </param> /// <param name="y"> /// A <see cref="System.Double"/> holding the scaling factor on Y axis. /// </param> /// <param name="z"> /// A <see cref="System.Double"/> holding the scaling factor on Z axis. /// </param> public void Scale(float x, float y, float z) { ModelMatrix scaleModel = new ModelMatrix(); scaleModel.SetScale(x, y, z); Set(this * scaleModel); }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="System.Single"/> holding the scaling factor on X, Y and Z axes. /// </param> public void Scale(float s) { ModelMatrix scaleModel = new ModelMatrix(); scaleModel.SetScale(s); Set(this * scaleModel); }