Commit graph

42 commits

Author SHA1 Message Date
Josh Deprez
6686c24cd6 refacteur 2021-09-08 20:08:57 +10:00
da7d988383 clean up projection from camera 2021-09-07 14:18:09 +10:00
024cf2cafe abolish transform 2021-09-07 14:00:50 +10:00
02d91f9d23 Point3->Int3; new Float3 type 2021-09-07 13:28:44 +10:00
1e029903a6 projection.go, delete crap 2021-09-07 13:14:42 +10:00
Josh Deprez
843db79af9 camera point at Point3 2021-09-03 10:30:14 +10:00
Josh Deprez
88ded18d50 Transform now responsible for concat 2021-09-03 10:08:56 +10:00
Josh Deprez
e065bad1a7 WIP: opts -> transform 2021-09-03 09:42:50 +10:00
Josh Deprez
464cf9a678 light renaming and 3 space stuff 2021-09-02 13:42:44 +10:00
Josh Deprez
9785b556e5 light renaming 2021-09-01 17:24:43 +10:00
Josh Deprez
7c7fd781d2 reimplement camera constraint 2021-09-01 12:07:49 +10:00
Josh Deprez
8f495888d9 back to previous way of doing camera 2021-09-01 10:36:39 +10:00
Josh Deprez
01752b77d9 tweaks 2021-09-01 09:55:18 +10:00
Josh Deprez
46c6a72fdd game does drawing 2021-08-31 22:05:21 +10:00
30224c15bf add rotation 2021-08-31 12:52:28 +10:00
Josh Deprez
3452a32ddb invert camera-scene relationship 2021-08-28 18:07:53 +10:00
Josh Deprez
6f3c6c88c0 no more draworderer 2021-08-28 17:50:54 +10:00
cf34a7785c Prepare returns error 2021-08-27 14:52:24 +10:00
43eff6e326 interface checks like this 2021-08-27 11:49:11 +10:00
Josh Deprez
056f0cf5d5 logic flip 2021-08-26 09:55:55 +10:00
d10d57a3dc how to load from a file 2021-08-25 15:04:38 +10:00
Josh Deprez
0f5346bf0e all in on interfaces 2021-08-23 10:34:56 +10:00
Josh Deprez
af89c01dbd Scenerise Camera and i am g.Root 2021-08-20 16:46:26 +10:00
Josh Deprez
b5792d3c8a Scener 2021-08-20 15:52:01 +10:00
Josh Deprez
91bf4939e7 move Bounds from Camera to Scene; add SceneRef 2021-08-20 13:45:01 +10:00
Josh Deprez
f01b667a0d call it pf 2021-08-18 17:44:03 +10:00
Josh Deprez
88482c390d parallax and interfaces 2021-08-18 16:34:51 +10:00
Josh Deprez
3b452fc3d0 minor refactor in camera 2021-08-18 15:46:28 +10:00
Josh Deprez
a50731023a camera responsible for drawing scene 2021-08-18 15:41:03 +10:00
Josh Deprez
cdcad14245 some tidyups 2021-08-18 15:23:02 +10:00
Josh Deprez
0b13586519 comment tweaks 2021-08-12 21:11:32 +10:00
88295b720d compute zoom bound on prepare 2021-08-12 05:01:37 +00:00
d612cf3e54 remove filter comment 2021-08-12 04:16:09 +00:00
efddeb7d6c Draw(image, geom) -> Draw(image, opts) 2021-08-12 04:06:01 +00:00
6354df558f camera stays in bounds 2021-08-12 03:49:22 +00:00
Josh Deprez
1ff2aa1fcf tweak 2021-08-10 16:53:51 +10:00
Josh Deprez
9592cfc794 thoughts 2021-08-10 15:32:29 +10:00
Josh Deprez
8b076efcc4 rotato 2021-08-10 15:23:13 +10:00
Josh Deprez
88fa4f5a6e new camera paradigm 2021-08-10 14:56:01 +10:00
Josh Deprez
ed61e27440 camera tweaks 2021-08-09 15:00:25 +10:00
Josh Deprez
a6508de705 camera improvements 2021-08-09 13:58:33 +10:00
Josh Deprez
1bf7920d2f cameraaaaa 2021-08-08 22:07:55 +10:00