glTranslatef signature [message #4139] |
Tue, 02 June 2009 20:16  |
Eclipse User |
|
|
|
I hope all of my questions aren't becoming annoying..
I'm wondering why Graphics3D#glTranslatef takes an int parameter for z?
The underlying OpenGL call doesn't..
|
|
|
|
Re: glTranslatef signature [message #4350 is a reply to message #4210] |
Tue, 02 June 2009 20:46  |
Eclipse User |
|
|
|
On 2009-06-02 17:25:16 -0700, Kristian Duske
<kristian.duske@fernuni-hagen.de> said:
> Hi Miles,
>
>> I hope all of my questions aren't becoming annoying..
>
> Not at all! We're happy that you are using GEF3D!
>
>>
>> I'm wondering why Graphics3D#glTranslatef takes an int parameter for z?
>> The underlying OpenGL call doesn't..
>
> That's a mistake that must have been introduced when the Graphics3DDraw
> interface was created. The only call to this method happens in a test
> application and the third parameter is set to 0, so I guess that's why
> it was declared as int. I fixed it in SVN already.
OK, I'll replace my fix with yours. :D
|
|
|
Re: glTranslatef signature [message #561895 is a reply to message #4139] |
Tue, 02 June 2009 20:25  |
Eclipse User |
|
|
|
Hi Miles,
> I hope all of my questions aren't becoming annoying..
Not at all! We're happy that you are using GEF3D!
>
> I'm wondering why Graphics3D#glTranslatef takes an int parameter for z?
> The underlying OpenGL call doesn't..
That's a mistake that must have been introduced when the Graphics3DDraw
interface was created. The only call to this method happens in a test
application and the third parameter is set to 0, so I guess that's why
it was declared as int. I fixed it in SVN already.
Best regards
Kristian
|
|
|
Re: glTranslatef signature [message #561935 is a reply to message #4210] |
Tue, 02 June 2009 20:46  |
Eclipse User |
|
|
|
On 2009-06-02 17:25:16 -0700, Kristian Duske
<kristian.duske@fernuni-hagen.de> said:
> Hi Miles,
>
>> I hope all of my questions aren't becoming annoying..
>
> Not at all! We're happy that you are using GEF3D!
>
>>
>> I'm wondering why Graphics3D#glTranslatef takes an int parameter for z?
>> The underlying OpenGL call doesn't..
>
> That's a mistake that must have been introduced when the Graphics3DDraw
> interface was created. The only call to this method happens in a test
> application and the third parameter is set to 0, so I guess that's why
> it was declared as int. I fixed it in SVN already.
OK, I'll replace my fix with yours. :D
|
|
|
Powered by
FUDForum. Page generated in 0.03751 seconds