RE: not sure where to post this question... bit C++ implementation specific....

CAVEY GERARD <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <71A291D8E360AF4EA6FFFAF9CAD136CA0146F9DB@FR-MAILBOX2.fr.sgam.socgen>
>You've got to admit this is a bit of a stinker, and i can't see why the
>c++ langauge cannot cope with this simple premise.
>
>At the moment, the best compromise we can come up with is to #ifdef
>VALUE #error#else#define VALUE 12.5f#endif
>... do stuff with the constant ...
>#undef VALUE
>
>we've got a good thing going on about not polluting the namespace, and
>#defines can wreak havok on anything that hits them.

but why dont you just use some temp integers filled with the abs values
to create your array?
It will only add few instructions.
Instead of trying to destroy the wall ,just jump over :)

GC.




*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite. 
Tout message electronique est susceptible d'alteration. 
SG Asset Management et ses filiales declinent toute responsabilite au titre
de ce message s'il a ete altere, deforme ou falsifie.

Découvrez l'offre et les services de SG Asset Management sur le site
www.sgam.fr 

				********

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SG Asset Management nor any of its subsidiaries or affiliates shall
be liable for the message if altered, changed or falsified. 

*************************************************************************





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.