Author: DerekRhodes Date: 2008-02-19 16:46:46 -0500 (Tue, 19 Feb 2008) New Revision: 960
Added: trunk/pysoy/src/atoms/Axis.pxi Log: Started Axis class in ../atoms Copied: trunk/pysoy/src/atoms/Axis.pxi (from rev 958, trunk/pysoy/src/stubs/Stub.pxi) =================================================================== --- trunk/pysoy/src/atoms/Axis.pxi (rev 0) +++ trunk/pysoy/src/atoms/Axis.pxi 2008-02-19 21:46:46 UTC (rev 960) @@ -0,0 +1,34 @@ +# PySoy's stubs.Stub +# +# Copyright (C) 2006,2007,2008 PySoy Group +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see http://www.gnu.org/licenses +# +# $Id$ + +''' + We need an atom class called Axis storing the three axis values ODE +takes for various functions (joints, rotating a body, etc) + Testing should be done to ensure the three values constrain to ODE's specs +and a cdef function should return a dReal[3] for internal use. Lastly, adding +a function to soy.bodies.Body such as .rotate which accepts an axis and angle, +applying these to dRFromAxisAndAngle, or axis or two axis arguments to + dRFrom2Axes, or None for both which sets the body's rotational identity. +''' + +cdef class Axis : + ''' PySoy Axis + + An Axis stub so far + ''' _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn