Table of Contents

Class GLMatrixes

Namespace
SearchAThing.OpenGL.Core
Assembly
netcore-opengl-core.dll

Helper class to store model/view/projection and camera pos/target/up in a single object.

public class GLMatrixes
Inheritance
GLMatrixes
Inherited Members

Constructors

GLMatrixes(in Matrix4x4, in Matrix4x4, in Matrix4x4, in Vector3, in Vector3, in Vector3)

Constructor.

public GLMatrixes(in Matrix4x4 mm, in Matrix4x4 vm, in Matrix4x4 pm, in Vector3 cp, in Vector3 ct, in Vector3 cu)

Parameters

mm Matrix4x4

Model matrix [local].

vm Matrix4x4

View matrix [world].

pm Matrix4x4

Projection matrix [eye].

cp Vector3

Camera position [world].

ct Vector3

Camera target [world].

cu Vector3

Camera up [world].

Properties

cp

Camera position [world].

public Vector3 cp { get; }

Property Value

Vector3

ct

Camera target [world].

public Vector3 ct { get; }

Property Value

Vector3

cu

Camera up [world].

public Vector3 cu { get; }

Property Value

Vector3

mm

Model matrix [local].

public Matrix4x4 mm { get; }

Property Value

Matrix4x4

pm

Projection matrix [eye].

public Matrix4x4 pm { get; }

Property Value

Matrix4x4

vm

View matrix [world].

public Matrix4x4 vm { get; }

Property Value

Matrix4x4