View Full Version : Doing Calculations
Rajveer
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.
richardve
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.
davepermen
03-23-2002, 03:41 AM
opengl draws points,lines,triangles.
it can draw textures on it..
fin
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.