MAXScript Trigonometric functions

Coded your way into a closet? Let's come out together.

MAXScript Trigonometric functions

Postby artkitekt » Wed Oct 02, 2013 4:41 pm

Code: Select all
 --sine
print (sin (radToDeg radians))
print (sin degrees)
--cosine
print (cos (radToDeg radians))
print (cos degrees)
--tangent
print (tan (radToDeg radians))
print (tan degrees)
--arcsine
print (asin (sin (radToDeg radians)))
print (asin (sin degrees))
--arccosine
print (acos (cos (radToDeg radians)))
print (acos (cos degrees))
--arctangent
print (atan (tan (radToDeg radians)))
print (atan (tan degrees))

Andru Phoenix
ATK Developer
User avatar
artkitekt
Site Admin
 
Posts: 70
Joined: Mon Sep 30, 2013 2:21 pm
Location: Bakersfield, CA

Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron