? GGLib ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

GGLib

Submitted
Updated
Author
PetrifiedLasagna
Public Key
9K3KQPKF
Min. Compat.
All
Version
1.0.0
Size
26.9 KB
Rating
2 votes
Description

General Geometry Library

GGLib is a library that aims to give programmers a comprehensive set of math related functions. The current version of GGLib comes with four different groups of functions. These include: -Geometry -Trigonometry -Vector -Collision Also, every function has comments and an example program that provide insight into what each function can be used for. If you have any questions about how to use a function, or have a suggestion for a function you would like to see, feel free to leave a comment and I will answer it as soon as I notice it (<24 hours when active).
Instructions To use the library copy it to the project that you want to include it in, load it into one of the available program slots, and call USE # to activate it. To view the example program just open it as you would any other program in the "view projects" menu.
Categories
Keywords
  • GGLib
  • Math
  • Geometry
  • Trigonometry
  • Vectors
  • Collision
  • Library
9 Comment(s) MZ952 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Looks very useful! chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements shouldn't points go counterclockwise? that's how it works in general math PetrifiedLasagna PetrifiedLasagna Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Reading I like to read books! Hobbies RNG Hidden Easter Eggs Really? The way I am determining the wind order is OpenGL style with the "shoelace" algorithm. I take the points and I take it from there. Regardless of whether you correct the y-axis (as I did in the example program) or not, you get the answer you expect to see based on the points. So I am a little confused by what you mean. Since clockwise/counter-clockwise is relative to how a clock goes around. If you could point me towards a page or something explaining it that would be great. chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements meh, i was tired and confused, ignore it please PetrifiedLasagna PetrifiedLasagna Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Reading I like to read books! Hobbies RNG Hidden Easter Eggs haha, I spent a portion of my day questioning what I thought was the definition of clockwise :3 I can recount many a time when I have done things on the notion of being tired *cough*http://smilebasicsource.com/forum?ftid=1064*cough*. Well I hope you enjoy the library! 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself (You can actually just do USE "PRG1:GGLIB" (this is a secret feature of USE)) PetrifiedLasagna PetrifiedLasagna Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Reading I like to read books! Hobbies RNG Hidden Easter Eggs Oh, that's an interesting secrete. It makes you wonder why they don't document all the overloads (if you will) of the functions. randomouscrap randomouscrap Robot Hidden Easter Eggs Second Year My account is over 2 years old Website Drawing I like to draw! Hobbies Looks like a lot of work went into this. PetrifiedLasagna PetrifiedLasagna Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Reading I like to read books! Hobbies RNG Hidden Easter Eggs Programming it, definitely. Most of it, though, was just knowledge that I accumulated through time doing what I love. :)