Add Vector Math To GM Studio!
Vector variable type and supporting functions like add, mult, cross product, dot, and much more!
GMS:2 Compatible
Now you can convert vector math found all over the web to GML!
For this example c++ example found on the web:
VEC3 Reflect(const VEC3 &incident, const VEC3 &normal)
{
return incident - 2.f * Dot(incident, normal) * normal;
}
Becomes this in gml
///tmc_vect_reflect(incident, normal)
//incident and normal are tmc_vect2 or tmc_vect3 types, works in 2d or 3d
return tmc_vect_sub(argument0, tmc_vect_multr( argument1, 2.0 * tmc_vect_dot(argument0, argument1)));
Features:
Vector Class Changes:
Extra Bit
Features will be added as requested
End User Licence Agreement (EULA).
Version 3 changes a few things:
3.0.1 - fixes the asset update screw up dropping the demo
Version 3.0.1. Published June 15, 2015
Created with GameMaker: Studio v1.4.1567
You can only review assets you've bought.
High quality code
The concept of this library is very well thought over.
Every programmer can can learn a lot from Your code.
Thank You.
This review was left for a previous version of this asset.
nice job
thank you
This review was left for a previous version of this asset.
Has Everything you'd expect
This review was left for a previous version of this asset.