Qbasic4.5 Codes 01: high speed Cosine and Sine

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
Post Reply
User avatar
Experienced Member
Experienced Member
Posts: 84
Joined: Mon Mar 20, 2006 7:15 pm
Location: Next to you, if not then who

Qbasic4.5 Codes 01: high speed Cosine and Sine

Post by NeonAmd64 »

Here is a code for Qbasic4.5 Programmers to increase the speed of cosine and sine in your program: :)

The Code

Code: Select all

DIM SHARED Cose!(360), Sine!(360)

SUB cosine.table
RA = (180 / (22 / 7))
FOR i = 0 TO 359
Cose!(i) = COS(i / RA)
Sine!(i) = SIN(i / RA)
I had created lots of codes during my life. I will share it with you If anyone is interested then take it ...

My apology again for what I had done .. :shame:
I am living in a black metal and I hope I die for a principle. And of course you still don't know me….
Words are coded in the two sentences above, don't try to decode it.
Post Reply