Quote Originally Posted by 2kaud View Post
It still creates a handle to an object - just like if it had been a separate statement. But because you don't associate this with a variable, you can't then delete that handle when finished with - hence a resource leak (not a memory leak).
thank you so much for that correction.
besides that i found another error: division by zero hehehehe
now theres no memory\resource leak and no division zero.
how can i learn much more for i create a floor or draw more objects 3D using math?
i did several searching, but i only get to type of tutorials:
- Geometrices 2D and 3D: very limited, that's why i continue with problems... but uses math;
- using OpenlGL or others libraries.
ok... i'm using only math for learn more