Vector (EM4)

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

  • Namensraum / Klasse "Vector"

    Table Of Contents

    Definierte Funktionen

    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,267 times viewed