~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: KX_RadarSensor.py,v 1.2 2004/05/30 11:09:46 kester Exp $
 
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