i am still having probelm with calculating bounding box and fill the triangles with colors
Type: Posts; User: olf
i am still having probelm with calculating bounding box and fill the triangles with colors
this what i did. i post what i did and i did my best but i am still having problems :(
can anyone please help how to calculate a bounding box for a triangle ? i have no clue how to do it
so no one can help me :( , i have 2 days left to deliver the assignment
thank you for reply, i think its run-time problem
triangle.h
#ifndef TRIANGLE_H_
#define TRIANGLE_H_
#include <SDL.h>
Your task is to complete the functions listed below. Together these functions provide functionality to draw filled triangles on the screen. In addition, the functions enable you to scale the size of...