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

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