[Piglit] [PATCH 1/2] Add a test of tessellation of transform feedback primitives.

Eric Anholt eric at anholt.net
Thu Nov 10 09:14:21 PST 2011


On Wed, 9 Nov 2011 18:13:14 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
Non-text part: multipart/alternative
> On 9 November 2011 17:38, Eric Anholt <eric at anholt.net> wrote:
> 
> > On Tue,  8 Nov 2011 16:03:39 -0800, Paul Berry <stereotype441 at gmail.com>
> > wrote:
> >
> > > +#include "piglit-util.h"
> > > +
> > > +#ifndef M_PI
> > > +#define M_PI 3.141592653589793
> > > +#endif
> >
> > M_PI?
> >
> >
> I'm afraid I don't understand the question.  Can you elaborate?

Why are you defining it yourself instead of using math.h, and for bonus
points, why are you defining it when you don't use it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111110/d5cc5182/attachment.pgp>


More information about the Piglit mailing list