www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/23/20:20:58

From: frenchc AT cadvision DOT com (Calvin French)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro Translucency/Lighting tables -- Should be made separate?
Date: Sun, 23 Feb 1997 12:20:10 GMT
Organization: CADVision Development Corp.
Lines: 12
Message-ID: <5eqklv$15gq@elmo.cadvision.com>
NNTP-Posting-Host: ts29ip55.cadvision.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm probably missing something, but why do the translucency and
lighting draw functions use the same global table? Why not either:

a) make 2 different global tables.

or better yet,

b) pass a pointer to the table you want to use as an arguement (maybe
make a c++ default value set to one of the 2 different global tables.

- Calvin -

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019