Code Monkey home page Code Monkey logo

gamemath.net's People

Contributors

michel-pi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gamemath.net's Issues

Ambiguous documentation

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.

How use the world2screen

Hey!

My w2s is not working... how can he resolve a position without world position ?

Please hlep me thanks

ScreenToWorld Can be Done ?

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. :)

My world2screen return weird position

-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 ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.