|
![](/i/fill.gif) |
To be solved with SDL. No #includes, though. And of course the simpler
the answer, the better. Try to solve these before looking at other people's
answers... :)
1) Transform a "box { 0, 1 }" with one single 'rotate' so that the box
corner at <1,1,1> ends up exactly on the y axis.
2) Create 4 spheres of the same size so that 3 of them are sitting on
the x-z plane, each one touching the other two at one single point,
and the 4th sphere is on top of the three, touching all these other
three spheres at one single point each.
3) Add a fifth, smaller sphere to the previous scene so that it touches
all the four larger spheres at a single point each.
Commented code is preferable. :)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |