Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 6:07:23 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented a point in triangle function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h

    r4923 r4929  
    3737    void buildHashTable(QuadtreeNode** nodeList, int* index);
    3838    bool includesPoint(const Vector& v);
     39    sTriangleExt* getTriangle(const Vector& position);
    3940    float getHeight(const Vector& position);
    4041    inline Rectangle* getDimension() { return this->pDimension; }
     
    5152    Rectangle* getDimFromModel();
    5253
     54    bool sameSide(const Vector& p1, const Vector&p2, const Vector& a, const Vector& b);
     55    bool pointInTriangle(const Vector&p, const Vector& a, const Vector& b, const Vector& c);
    5356
    5457  protected:
Note: See TracChangeset for help on using the changeset viewer.