Dav1dde / gl3n

OpenGL Maths for D (not glm for D).
http://dav1dde.github.com/gl3n/
Other
103 stars 49 forks source link

[RFE] Add a camera module #34

Closed mathstuf closed 10 years ago

mathstuf commented 10 years ago

A replacement for calls such as glFrustum and glOrtho would be nice. I can work on it if you're open to it.

Dav1dde commented 10 years ago

They both exist, Matrix.perspective and Matrix.orthographic, make one of the respective matrices and multiply it with your other.

mathstuf commented 10 years ago

Ah. They aren't in the documentation. Could they be added there?

Dav1dde commented 10 years ago

This is a well known ddocbug, which hasn't been fixed yet (I think), so probably not. Unfortunatly.