Skip to content

Commit

Permalink
fixed typo: ortographic -> orthographic
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMyst committed Jun 20, 2020
1 parent d8f6694 commit fc97067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/cosmomyst/math/matrix.d
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ struct mat(ulong n) if (n >= 2) {
}

/++
+ creates an ortographic projection matrix
+ creates an orthographic projection matrix
+/
@nogc mat4 mat_ortographic(float left, float right, float bottom, float top, float near, float far) pure nothrow {
@nogc mat4 mat_orthographic(float left, float right, float bottom, float top, float near, float far) pure nothrow {
float dx = right - left;
float dy = top - bottom;
float dz = far - near;
Expand Down

0 comments on commit fc97067

Please sign in to comment.