nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: intro cache for `Camera::mvp_matrix`
[nit.git]
/
lib
/
gamnit
/
cameras.nit
diff --git
a/lib/gamnit/cameras.nit
b/lib/gamnit/cameras.nit
index
401e1ce
..
c9754f7
100644
(file)
--- a/
lib/gamnit/cameras.nit
+++ b/
lib/gamnit/cameras.nit
@@
-264,7
+264,7
@@
class UICamera
# Bottom right corner of the screen, at z = 0
fun bottom_right: Point3d[Float] do return new Point3d[Float](position.x + width, position.y - height, 0.0)
- # TODO cache the anchors and the matrix
+ # TODO cache the anchors
redef fun mvp_matrix
do