diff options
author | rodri <rgl@antares-labs.eu> | 2024-09-21 16:15:21 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-09-21 16:15:21 +0000 |
commit | a8c789be9ab0fec65004118b7df373e84900cb1a (patch) | |
tree | ec50773d05e4cd15f22dfc7ec19c4ddc8ec77a88 /graphics.h | |
parent | d8f71404ffd54af08bc84dbb04e60cb07e83a021 (diff) | |
download | libgraphics-a8c789be9ab0fec65004118b7df373e84900cb1a.tar.gz libgraphics-a8c789be9ab0fec65004118b7df373e84900cb1a.tar.bz2 libgraphics-a8c789be9ab0fec65004118b7df373e84900cb1a.zip |
camera: add a Camv constructor.
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -368,6 +368,7 @@ struct Camera }; /* camera */ +Camera *Camv(Viewport*, Renderer*, Projection, double, double, double); Camera *Cam(Rectangle, Renderer*, Projection, double, double, double); Camera *newcamera(void); void delcamera(Camera*); @@ -443,7 +444,7 @@ Point2 maxpt2(Point2, Point2); Point3 modulapt3(Point3, Point3); Point3 minpt3(Point3, Point3); Point3 maxpt3(Point3, Point3); -Memimage *rgb(ulong); +Memimage *rgba(ulong); Memimage *dupmemimage(Memimage*); /* color */ |