Vector (EM4)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!

  • Namespace / class 'Vector'

    Table Of Contents

    Defined functions

    Source Code

    1. class Vector
    2. {
    3. public :
    4. float x, y, z;
    5. Vector();
    6. Vector(float x_, float y_, float z_);
    7. Vector(const Vector &V_);
    8. const Vector &operator = (const Vector &V_);
    9. Vector operator + (const Vector &V_);
    10. Vector operator - (const Vector &V_);
    11. Vector operator * (const float &f_);
    12. void Set(float x_, float y_, float z_);
    13. float GetLen();
    14. Vector GetNormal();
    15. };
    16. extern const Vector NULLVECTOR;
    Display All

    1,013 times viewed