bobob55Join Date: 2008-07-24 Post Count: 4522 |
m = math.sqrt(100)
if (m==10) then
print(m)
else
print("This function is O_O")
end |
|
sroge445Join Date: 2008-06-02 Post Count: 5590 |
Er... Nice? Square roots... |
|
bobob55Join Date: 2008-07-24 Post Count: 4522 |
This might help some people with CFrame
math.rad(180)
|
|
sroge445Join Date: 2008-06-02 Post Count: 5590 |
Ooh. I really need more than a 5th grade education right now... |
|
BlabobloxJoin Date: 2008-09-12 Post Count: 8945 |
bobob look at my pi script in the other forum. |
|
bobob55Join Date: 2008-07-24 Post Count: 4522 |
|
|
|
bloccoJoin Date: 2008-08-14 Post Count: 29474 |
I replicated math.rad and sncplay helped me replicate math.deg. |
|
|
These are functions that you'd find on most calculators. Nothing special. |
|
AkwardJoin Date: 2009-08-15 Post Count: 51 |
You DO realize that the freak above blocco bumped this thread, right? |
|
bloccoJoin Date: 2008-08-14 Post Count: 29474 |
I'm a freak? Then what is dr01d3k4?
:O Akward, you called dr01d3k4 a freak!
Oh wait... dr01d3k4 is human...
But anyways... Cus_ser bumped it.
I love being a freak. It makes me sound smarter. |
|
bloccoJoin Date: 2008-08-14 Post Count: 29474 |
Oh wait... I misread the sentence. I hate when I do that.
Sorry for the miscommunications! I read it differently because of lack of commas. |
|
Ares2511Join Date: 2008-06-18 Post Count: 1456 |
You don't even need math.rad, I just use math.pi, you'll end up using it in Trog anyway, as I did. |
|
|
A made a little flash tank game based on most of the math functions in actionscript. They're pretty similar to the lua ones. It's simply trig.
Oh, and I never finished that game. |
|
Dr01d3k4Join Date: 2007-10-11 Post Count: 17916 |
'Oh wait... dr01d3k4 is human... '
...
THE MAN LIES |
|
BonecussJoin Date: 2008-02-15 Post Count: 6979 |
*rolls eyes* |
|
Dr01d3k4Join Date: 2007-10-11 Post Count: 17916 |
*what dey said* |
|
BonecussJoin Date: 2008-02-15 Post Count: 6979 |
I wish we could turn off user ads D: |
|
BonecussJoin Date: 2008-02-15 Post Count: 6979 |
BTW I'm playing spore galactic adventures, i'll be at the hangout if u wanna talk |
|
Dr01d3k4Join Date: 2007-10-11 Post Count: 17916 |
k me go SFH |
|
wiiplayJoin Date: 2008-05-28 Post Count: 17801 |
>print(math)
table: 1325B630
O__O THATS MY OUTPUT!!! :O EPIC... |
|
Dr01d3k4Join Date: 2007-10-11 Post Count: 17916 |
That is what you get when you print a table. |
|
wiiplayJoin Date: 2008-05-28 Post Count: 17801 |
>print(math.huge)
1.#INF
>print(math.random)
function: 11F97BE0
>print(math.Parent)
nil
(:O)
|
|
wiiplayJoin Date: 2008-05-28 Post Count: 17801 |
I was wondering, what are tables for? (NOT the kind you eat on! XD) |
|
Dr01d3k4Join Date: 2007-10-11 Post Count: 17916 |
print(type(math)) -- table
print(table.HasParent) -- false |
|