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

« back to all changes in this revision

Viewing changes to source/gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: SM_Object.cpp,v 1.20 2005/03/25 10:33:39 kester Exp $
 
2
 * $Id: SM_Object.cpp,v 1.21 2007/04/04 13:18:40 campbellbarton Exp $
3
3
 * Copyright (C) 2001 NaN Technologies B.V.
4
4
 * The basic physics object.
5
5
 *
301
301
                        applyImpulse(local2 + getNextFrame().getPosition(), impulse * normal);
302
302
                } else {
303
303
                        /**
304
 
                         * Apply impulse through object centre. (no rotation.)
 
304
                         * Apply impulse through object center. (no rotation.)
305
305
                         */
306
306
                        impulse /= invMass;
307
307
                        applyCenterImpulse( impulse * normal );