~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/gameengine/PyDoc/KX_RadarSensor.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: KX_RadarSensor.py 15444 2008-07-05 17:05:05Z lukep $
2
 
# Documentation for KX_RadarSensor
3
 
from KX_NearSensor import *
4
 
 
5
 
class KX_RadarSensor(KX_NearSensor):
6
 
        """
7
 
        Radar sensor is a near sensor with a conical sensor object.
8
 
        """
9
 
        
10
 
        def getConeOrigin():
11
 
                """
12
 
                Returns the origin of the cone with which to test. The origin
13
 
                is in the middle of the cone.
14
 
                
15
 
                @rtype: list [x, y, z]
16
 
                """
17
 
 
18
 
        def getConeTarget():
19
 
                """
20
 
                Returns the center of the bottom face of the cone with which to test.
21
 
                
22
 
                @rtype: list [x, y, z]
23
 
                """
24
 
        
25
 
        def getConeHeight():
26
 
                """
27
 
                Returns the height of the cone with which to test.
28
 
                
29
 
                @rtype: float
30
 
                """
31