From a8c789be9ab0fec65004118b7df373e84900cb1a Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 21 Sep 2024 16:15:21 +0000 Subject: camera: add a Camv constructor. --- graphics.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics.h') diff --git a/graphics.h b/graphics.h index 089156a..2fd516e 100644 --- a/graphics.h +++ b/graphics.h @@ -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 */ -- cgit v1.2.3