View Full Version : Doing Calculations
03-22-2002, 06:25 AM
Is there some built in way to calculate areas, lengths, radius of curvature, etc. of a shape that has been rendered on the screen using OpenGL? I've drawn a 2D oval type shape from random coordinates which I scanned from another file. And I need to calculate those things I mentioned above.
03-22-2002, 06:37 AM
Nope (GL == Graphics Library, not Math Library).
I'd recommend to build a math library yourself or just pick a good one from the COTD (http://www.flipcode.com/cotd) @ flipCode and use those functions to do calculations.
03-23-2002, 03:41 AM
opengl draws points,lines,triangles.
it can draw textures on it..
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.