Jump to content


Explain fl


  • You cannot reply to this topic
2 replies to this topic

#1 travmanx

    Young Padawan

  • Members
  • Pip
  • 25 posts

Posted 02 April 2006 - 11:51 AM

Ok, I was following a tutorial and they have

Quote

scale = fl/(fl+z+100);

Could someone explain what the "fl" statement is doing?

#2 Frozen_W

    Young Padawan

  • Members
  • Pip
  • 186 posts
  • Gender:Male
  • Location:Belgium, Gistel
  • Interests:Just gimme a PC and i'm happy!<br />Also my friends, some concerts, parties,...<br />After the pc, the usual stuff;)

Posted 02 April 2006 - 12:18 PM

Quote

scale = fl/(fl+z+100);

I think, i'm not sure (don't know what the tut is about)
but i think, both 'fl' and 'z' are variables the above acctually means:

for example fl = 5 and z = 10
store into variable scale 5/(5+10+100)
then scale would hold "0.04...."

Greetz Freaky, hopefully I helped :ph34r:

Edited by ResidentFreaky, 02 April 2006 - 12:19 PM.


#3 travmanx

    Young Padawan

  • Members
  • Pip
  • 25 posts

Posted 02 April 2006 - 07:55 PM

View PostResidentFreaky, on Apr 2 2006, 05:18 PM, said:

Quote

scale = fl/(fl+z+100);

I think, i'm not sure (don't know what the tut is about)
but i think, both 'fl' and 'z' are variables the above acctually means:

for example fl = 5 and z = 10
store into variable scale 5/(5+10+100)
then scale would hold "0.04...."

Greetz Freaky, hopefully I helped :)

ah yes how could i missed the variable setting 10 lines above it. Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users