← Standard library

float3x2

struct float3x2

Available without an import.

A column-major matrix with three float2 columns. Represents compact 2D affine transforms, including translation, rotation, and scale.

Matrices.wax:4

Members

c0field

public float2 c0

Column 0 in column-major storage.

Matrices.wax:8

c1field

public float2 c1

Column 1 in column-major storage.

Matrices.wax:12

c2field

public float2 c2

Column 2 in column-major storage.

Matrices.wax:16

constructorconstructor

public constructor (float2 c0, float2 c1, float2 c2)

Stores the supplied columns in order.

Matrices.wax:21

Identitygetter

public static get Identity() : float3x2

The identity transform, with ones on the diagonal and zeros elsewhere.

Matrices.wax:30

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.