michel-pi / gamemath.net Goto Github PK
View Code? Open in Web Editor NEWProvides numerical types such as Vector3 and Matrix4x4 with functions to manipulate them
License: MIT License
Provides numerical types such as Vector3 and Matrix4x4 with functions to manipulate them
License: MIT License
Hey there, I love this library and it has been a great help in creating my Aimbot. One thing I have trouble understanding is the comments around a lot of the functions.
For example:
// <summary>
/// Calculates the difference of two angles.
/// </summary>
/// <param name="pointOfView">The point of view.</param>
/// <param name="angle_1">The first angle.</param>
/// <param name="angle_2">The second angle.</param>
/// <returns>Degree.</returns>
Does 'pointOfView' mean the players Vector3 position or his current Vector3 rotation?
Though 'angle_1' and 'angle_2' are quite self-explanatory, it would significantly help if this was put in a 3D context.
I know to a person that understands the math it may seem straight forward, but as a beginner, I'm finding myself scratching my head at what a large portion of these calculations do.
Besides this, I love the Library. It's super efficient and lightweight.
Hey!
My w2s is not working... how can he resolve a position without world position ?
Please hlep me thanks
thanks for making this library public.
I don't know how to translate screen2d to world3d position (because of my math is not good).
if its possible can you add this one too. :)
-0,9842894 11 to matrix { {M11:-0,9842894 M12:-0,1765626 M13:-1,192148E-07 M14:0} {M21:-0,176426 M22:0,9835277 M23:0,03933312 M24:0} {M31:-0,006944642 M32:0,0387152 M33:-0,9992262 M34:0} {M41:13532,98 M42:74456,52 M43:84293,97 M44:1} }
And this return weird position ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.