~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/doc/Geometry.py

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        """
60
60
        Takes 4 vectors (one for the test point and 3 for the triangle)
61
61
        This is a 2d function so only X and Y are used, Z and W will be ignored.
62
 
        @rtype: bool
63
 
        @return: True or False depending on the points intersection.
 
62
        @rtype: int
 
63
        @return: 1 for a clockwise intersection, -1 for counter clockwise intersection, 0 when there is no intersection.
 
64
        """
 
65
 
 
66
def PointInQuad2D(pt, quad_pt1, quad_pt2, quad_pt3):
 
67
        """
 
68
        Takes 5 vectors (one for the test point and 5 for the quad)
 
69
        This is a 2d function so only X and Y are used, Z and W will be ignored.
 
70
        @rtype: int
 
71
        @return: 1 for a clockwise intersection, -1 for counter clockwise intersection, 0 when there is no intersection.
64
72
        """
65
73
 
66
74
def BoxPack2D(boxlist):