Show / Hide Table of Contents

Class Matrix2x2i

Simple 2x2 integer matrix.

Inheritance
System.Object
Matrix2x2i
Namespace: Eco.Shared.Math
Assembly: Eco.Shared.dll
Syntax
public sealed class Matrix2x2i : ValueType

Constructors

Matrix2x2i(Vector2i, Vector2i)

Declaration
public Matrix2x2i(Vector2i c0, Vector2i c1)
Parameters
Type Name Description
Vector2i c0
Vector2i c1

Matrix2x2i(Int32, Int32, Int32, Int32)

Declaration
public Matrix2x2i(int m00, int m10, int m01, int m11)
Parameters
Type Name Description
System.Int32 m00
System.Int32 m10
System.Int32 m01
System.Int32 m11

Fields

C0

Declaration
public Vector2i C0
Field Value
Type Description
Vector2i

C1

Declaration
public Vector2i C1
Field Value
Type Description
Vector2i

Identity

Declaration
public static Matrix2x2i Identity
Field Value
Type Description
Matrix2x2i

Methods

Mul(Vector2i)

Declaration
public Vector2i Mul(Vector2i pos)
Parameters
Type Name Description
Vector2i pos
Returns
Type Description
Vector2i

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾