Example #1
0
 public static void Clip(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clip)}({typeof(Float2x2)})");
Example #2
0
File: GL.cs Project: mortend/uno
 public void UniformMatrix2(int location, bool transpose, Float2x2 value)
 {
     TKGL.UniformMatrix2(location, 1, transpose, ref value.M11);
 }
Example #3
0
        public Float2x2(float value)
        {
            var v2 = new Vector2(value);

            this = Float2x2.Construct(v2, v2);
        }
Example #4
0
 public Float2x2(float m00, float m01, float m10, float m11)
 {
     this = Float2x2.Construct(new Vector2(m00, m10), new Vector2(m01, m11));
 }
Example #5
0
 public void UniformMatrix2(int location, bool transpose, Float2x2 value)
 {
 }