When you rapidly instantiated AABBs with a quick mouse and drag option
The purpose of Gateware is to create lightweight, multi-platform libraries that handle functionality common to video games. At the moment this includes keyboard and mouse input libraries and file logging libraries. The intent is for current and future students to be able to utilize these libraries to aid them in the creation of their final projects. The current deployments for the libraries are the Windows, Mac, and Linux platforms.
Friday, December 20, 2019
Last GCollision Update (of the year)
In the last update, we have decided to priority batch implementing functions based on what most Gateware users would require. Since that decision, I have confirmed about 5 functions passing their tests. I also had to review which functions would be delayed in order to implement the pre-requisites for them. An additional change is modifying the Separation Distance between two shapes which calculates the distance between two shapes unless intersecting ( in which it would return 0). In many of the function implementations that I explored, it became pretty apparent that there was a lot of value to be had from the squared distance between two shapes thus saving n amount of square roots per call. This would be up to the caller to decide the amount of precision they required from the distance. In order to offer more clarity as well, the name is going to become SqDistance. I also implemented OBB vs OBB which is probably one of the costlier functions in the library unlike sphere to sphere and AABB to AABB which are nearly identical in terms of performance. Anyway, I am going to leave you to have a wonderful winter break and will be posting next year!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment