help-3dldf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-3dldf] Re: button-hole problem


From: Laurence Finston
Subject: Re: [help-3dldf] Re: button-hole problem
Date: Sat, 23 Apr 2005 20:21:14 +0200
User-agent: IMHO/0.98.3+G (Webmail for Roxen)

I wrote:

> The perspective transformation is created by taking an
> identity matrix and setting persp[2][2] = 0 and persp[2][3] = 1/distance
> (indexing starts at 0).  This is why distance may not be 0.

Sorry, this should be Focus::persp.matrix[2][2] and Focus::persp.matrix[2][3].
 Didn't mean to sow confusion.  `persp' is a `Transform' and 
`matrix' is a `Matrix', which  is a `typedef' for  `real[4][4]'.   `real' is a
`typedef' for either `float' or `double', depending on how precise you want to
be (currently `double' in my sources). 

Laurence
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]