Struct float2x2
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(float2), 4, 2, 2, "global::Misaki.HighPerformance.Mathematics.float", true, true, typeof(float), null)]
[NumericConvertable("{v}.{c}", new Type[] { typeof(int2x2), typeof(uint2x2), typeof(double2x2) })]
public struct float2x2 : IEquatable<float2x2>
- Implements
- Inherited Members
Constructors
float2x2(double2x2)
public float2x2(double2x2 v)
Parameters
float2x2(float2)
public float2x2(float2 value)
Parameters
valuefloat2
float2x2(float2, float2)
public float2x2(float2 c0, float2 c1)
Parameters
float2x2(int2x2)
public float2x2(int2x2 v)
Parameters
vint2x2
float2x2(uint2x2)
public float2x2(uint2x2 v)
Parameters
vuint2x2
float2x2(in ReadOnlySpan<float2>)
public float2x2(in ReadOnlySpan<float2> values)
Parameters
valuesReadOnlySpan<float2>
float2x2(in ReadOnlySpan<float>)
public float2x2(in ReadOnlySpan<float> values)
Parameters
valuesReadOnlySpan<float>
float2x2(float)
public float2x2(float value)
Parameters
valuefloat
float2x2(float, float, float, float)
public float2x2(float m00, float m01, float m10, float m11)
Parameters
Fields
c0
public float2 c0
Field Value
c1
public float2 c1
Field Value
Properties
this[int]
public ref float2 this[int index] { get; }
Parameters
indexint
Property Value
identity
public static float2x2 identity { get; }
Property Value
zero
public static float2x2 zero { get; }
Property Value
Methods
Equals(float2x2)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(float2x2 other)
Parameters
otherfloat2x2An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(float2, float2x2)
public static float2x2 operator +(float2 lhs, float2x2 rhs)
Parameters
Returns
operator +(float2x2, float2)
public static float2x2 operator +(float2x2 lhs, float2 rhs)
Parameters
Returns
operator +(float2x2, float2x2)
public static float2x2 operator +(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator --(float2x2)
public static float2x2 operator --(float2x2 value)
Parameters
valuefloat2x2
Returns
operator /(float2, float2x2)
public static float2x2 operator /(float2 lhs, float2x2 rhs)
Parameters
Returns
operator /(float2x2, float2)
public static float2x2 operator /(float2x2 lhs, float2 rhs)
Parameters
Returns
operator /(float2x2, float2x2)
public static float2x2 operator /(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator ==(float2x2, float2x2)
public static bool2x2 operator ==(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator >(float2x2, float2x2)
public static bool2x2 operator >(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator >=(float2x2, float2x2)
public static bool2x2 operator >=(float2x2 lhs, float2x2 rhs)
Parameters
Returns
implicit operator float2x2(float2)
public static implicit operator float2x2(float2 value)
Parameters
valuefloat2
Returns
implicit operator float2x2(ReadOnlySpan<float2>)
public static implicit operator float2x2(ReadOnlySpan<float2> value)
Parameters
valueReadOnlySpan<float2>
Returns
operator ++(float2x2)
public static float2x2 operator ++(float2x2 value)
Parameters
valuefloat2x2
Returns
operator !=(float2x2, float2x2)
public static bool2x2 operator !=(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator <(float2x2, float2x2)
public static bool2x2 operator <(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator <=(float2x2, float2x2)
public static bool2x2 operator <=(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator %(float2, float2x2)
public static float2x2 operator %(float2 lhs, float2x2 rhs)
Parameters
Returns
operator %(float2x2, float2)
public static float2x2 operator %(float2x2 lhs, float2 rhs)
Parameters
Returns
operator %(float2x2, float2x2)
public static float2x2 operator %(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator *(float2, float2x2)
public static float2x2 operator *(float2 lhs, float2x2 rhs)
Parameters
Returns
operator *(float2x2, float2)
public static float2x2 operator *(float2x2 lhs, float2 rhs)
Parameters
Returns
operator *(float2x2, float2x2)
public static float2x2 operator *(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator -(float2, float2x2)
public static float2x2 operator -(float2 lhs, float2x2 rhs)
Parameters
Returns
operator -(float2x2, float2)
public static float2x2 operator -(float2x2 lhs, float2 rhs)
Parameters
Returns
operator -(float2x2, float2x2)
public static float2x2 operator -(float2x2 lhs, float2x2 rhs)
Parameters
Returns
operator -(float2x2)
public static float2x2 operator -(float2x2 value)
Parameters
valuefloat2x2
Returns
operator +(float2x2)
public static float2x2 operator +(float2x2 value)
Parameters
valuefloat2x2