code typo

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

code typo

Post by uzik »

This is a small nitpick but:

bool irr::core::plane3d< T >::isFrontFacting ( const vector3d< T > & lookDirection )

Shouldn't that be IsFrontFacing?

:?: [/b]
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

why?
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

Post by uzik »

The documentation states the function returns true or false
indicating if the polygon is 'front facing'. 'Facting' makes no
sense. It seems it was a typo to me.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

:oops: oh, sorry. I just glanced quickly and all I saw was that you changed the initial lowercase to a capital, which would be inconsistant with most of irrlicht's functions. I definitely see your point about facing vs. facting, it probably is a typo. I'll look more closely next time.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

Post by uzik »

I usually miss those things but this time I happened to notice it.
Have a good one.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Re: code typo

Post by niko »

uzik wrote:Shouldn't that be IsFrontFacing?[/b]
Ah, yes, my mistake. :)
Post Reply