~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_RaySensor.cpp

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        return result;
109
109
}
110
110
 
111
 
bool KX_RaySensor::RayHit(KX_ClientObjectInfo* client, KX_RayCast* result, void * const data)
 
111
bool KX_RaySensor::RayHit(KX_ClientObjectInfo *client, KX_RayCast *result, void * const data)
112
112
{
113
113
 
114
114
        KX_GameObject* hitKXObj = client->m_gameobject;
153
153
/* this function is used to pre-filter the object before casting the ray on them.
154
154
 * This is useful for "X-Ray" option when we want to see "through" unwanted object.
155
155
 */
156
 
bool KX_RaySensor::NeedRayCast(KX_ClientObjectInfo* client)
 
156
bool KX_RaySensor::NeedRayCast(KX_ClientObjectInfo *client)
157
157
{
158
158
        if (client->m_type > KX_ClientObjectInfo::ACTOR)
159
159
        {