Exemple #1
0
        /// <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);
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
        /// <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);
        }
Exemple #4
0
        /// <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);
        }
Exemple #5
0
        /// <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);
        }
Exemple #6
0
        /// <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);
        }
Exemple #7
0
		/// <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);
		}
Exemple #8
0
		/// <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);
		}
Exemple #9
0
		/// <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);
		}