Module graphic

Procs

proc projection(N: static[int]; w, h: float): Matrix[N, N]
  Source Edit
proc projection(w, h: float): Matrix[4, 4] {.
inline, raises: [AssertionError], tags: []
.}
  Source Edit
proc translation(N: static[int]; x, y: float = 0; z: float = 0): Matrix[N, N]
  Source Edit
proc translation(x, y: float = 0; z: float = 0): Matrix[4, 4] {.
inline, raises: [AssertionError], tags: []
.}
  Source Edit
proc rotation(N: static[int]; phi = 0.0'f64; theta: float = 0): Matrix[N, N]
  Source Edit
proc rotation(phi = 0.0'f64; theta: float = 0): Matrix[4, 4] {.
inline, raises: [AssertionError], tags: []
.}
  Source Edit
proc scaling(N: static[int]; w, h: float = 0): Matrix[N, N]
  Source Edit
proc scaling(w, h: float = 0): Matrix[4, 4] {.
inline, raises: [AssertionError], tags: []
.}
  Source Edit