equal
deleted
inserted
replaced
76 } |
76 } |
77 } |
77 } |
78 |
78 |
79 void Cube::show () |
79 void Cube::show () |
80 { |
80 { |
81 /* |
|
82 * Implement some Sanity Checks |
|
83 */ |
|
84 int height = surface->getHeight (); |
|
85 |
|
86 surface->drawLine (P[0]->X (), P[0]->Y (), P[1]->X (), P[1]->Y ()); |
81 surface->drawLine (P[0]->X (), P[0]->Y (), P[1]->X (), P[1]->Y ()); |
87 surface->drawLine (P[3]->X (), P[3]->Y (), P[2]->X (), P[2]->Y ()); |
82 surface->drawLine (P[3]->X (), P[3]->Y (), P[2]->X (), P[2]->Y ()); |
88 surface->drawLine (P[2]->X (), P[2]->Y (), P[1]->X (), P[1]->Y ()); |
83 surface->drawLine (P[2]->X (), P[2]->Y (), P[1]->X (), P[1]->Y ()); |
89 surface->drawLine (P[3]->X (), P[3]->Y (), P[0]->X (), P[0]->Y ()); |
84 surface->drawLine (P[3]->X (), P[3]->Y (), P[0]->X (), P[0]->Y ()); |
90 |
85 |