The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: AsmER on April 14, 2006, 08:08:05 PM

Title: Re: MASM32 Version 9 Release
Post by: AsmER on April 14, 2006, 08:08:05 PM
WARNING,

Include file glu32.inc contain wrong definition for gluPerspective function. This function need 4 parameters, not 8.
void gluPerspective(
GLdouble fovy,
GLdouble aspect,
GLdouble zNear,
GLdouble zFar
);

Regards, AsmER
Title: Re: MASM32 Version 9 Release
Post by: key2k3 on April 20, 2006, 09:47:54 PM
@hutch--:
I think it's time to include a better tutorial for the macro system. I would suggest
the following:

http://web.sau.edu/lilliskevinm/csci240/masmdocs/programmersguide/13LMAPGC09.pdf

@AsmER:
Could it be that a "GLdouble" represents 2 DWORDs? Just a hint...


- key2k3 -
Title: Re: MASM32 Version 9 Release
Post by: MichaelW on April 20, 2006, 10:59:13 PM
key2K3,

The link is for what appears to be a Microsoft document, that is already available from a link on the forum web site, that someone has put their name on, an obvious copyright violation.


Title: Re: MASM32 Version 9 Release
Post by: AsmER on April 24, 2006, 10:13:35 AM
key2k3,

GLdouble = QWORD (8 bytes) = 2x DWORD ( 2x 4 bytes).
You are right.