Hi Kent,
DegToRad and RadToDeg are part of thinBasic Math module, so you don't have to declare them yourself
Petr
Thanks Primo, I have functions to do those already in my archives, will dig them up. I never thought of the different degree types.
Found them here they are:
Thanks again, all tests green now.function Rad2Deg(rad as double) function = ( ( rad * 180 ) / 3.14159265 ) end function function Deg2Rad(deg as double) function = ( ( deg * 3.14159265 ) / 180 ) end function
Last edited by kryton9; 10-05-2017 at 12:30.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Hi Kent,
DegToRad and RadToDeg are part of thinBasic Math module, so you don't have to declare them yourself
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Petr, you know what it is? Its been 11 years of thinBasic and it just seems like 4 at the most. And of course, in all of that time much has been added to thinBasic, and I am still thinking like it was 11 years ago. I need to check the help first from now on
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks