The Dink Network

Reply to Re: Raycating

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 13th 2013, 09:09 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
I remember the trig functions being in the reDink engine, and perhaps in one of the early 1.08 versions, but as Dink doesn't have floats, the only thing it'd return would be 1, 0, or -1.

A function math_cos(int &angle, int &mult); (ditto with sin, tan, etc.) which would multiply by &mult before converting to an integer would be more useful. Sadly, it's not there. Shouldn't be too difficult to add, though.