Commits

Show all
Author Commit Message Labels Comments Date
lorenz
merged changes from trunk
Branches
math_module
lorenz
some last minute changes before I merge to trunk. The biggest chunk is that I unified most math functions into a gerneric one as suggested by René Dudfield.
Branches
math_module
lorenz
added "lerp()" to Vector2 and Vector3 to provide a linear interpolation. fixed bug in "Vector2.slerp()". some cosmetic cleanups.
Branches
math_module
lorenz
implemented new methods in the math module. * added "vec1.slerp(vec2, steps)" to Vector2 and Vector3. This method returns an iterator. This can also scale in radial direction. * added "as_polar()" and "from_polar((r, phi))" to Vector2. This converts to and from polar-coordiantes where r is the radial distance and phi the angle to the positive x-axis. * added "as_spherical()" and "from_spherical((r, theta, phi))" to Vector3. T…
Branches
math_module
lorenz
rearanged math module. added forward declarations at the beginning. enable/disable_swizzling are now module methods added tests for Vector3 not yet complete (but almost)
Branches
math_module
lorenz
* implemented Vector3. there are no tests yet, so there are bound to be bugs
Branches
math_module
lorenz
refactored some of the vector tests. added more test for Vector2().elementwise()
Branches
math_module
lorenz
refactored the vector_elementwiseproxy functions and fixed some bugs along the way
Branches
math_module
lorenz
* added the vetor_elementwiseproxy which lets you apply calculations on each element. This also supports __pow__, __abs__ and __mod__ * added tests for the above
Branches
math_module
lorenz
added support for swizzling. added methods "enable_swizzle()" and "disable_swizzle()"; default: disabled added test for swizzling
Branches
math_module
lorenz
merged changes from trunk to math_module branch
Branches
math_module
lorenz
added methods distance_to and distance_squared_to to the vector class the vector class now supports the iter protocol added tests for the above
Branches
math_module
lorenz
added the following methods to Vector2 * length * length_squared * reflect * refelct_ip also included unit tests for the above
Branches
math_module
lorenz
updates to the pygame.math module * fixed vector_GetItem * implemented Get/SetSlice * fixed str/repr * updated the constructor so that "Vector2(Vector2().__repr__())" should work * implemented new methods: - rotate, rotate_ip - normalize, normalize_ip, is_normalized - cross - dot - angle_to - scale_to_length also added unit tests for all the above
Branches
math_module
lorenz
fix a reference counting bug in initmath which led to a crash fixed some unit tests for the math module fixed a C-API bug for the display module
Branches
math_module
lorenz
added an incomplete Vector2 to the math module. currently this revision does not work on my system.
Branches
math_module
lorenz
started writing tests for a yet to implement vector type
Branches
math_module
lorenz
* create math_module branch for development of vectors etc
Branches
math_module
illume
Fixed the test to not fail on OSX which doesn't have midi devices by default.
illume
cursors update note
illume
updated docs for cursors.load_xbm, thanks Saul Spatz, and Thomas Ibbotson.
illume
enabled some failing tests that were disabled temporarily for buildbot
illume
remove the midi test tags
Lenard Lindstrom
add svn properties to track which files are converted to Python 3.x
Lenard Lindstrom
enable font_test.py on Windows
illume
Disabling some tests(font, midi) to allow buildbot to build recent binaries.
illume
fix surflock weakref leak. Thanks Tom Rothamel.
illume
Added palette_colors to mask.from_threshold. TODO notes to some functions.
Nirav Patel
cleaning camera module documentation and makeref on transform
Nirav Patel
camera module and computer vision tutorial
  1. Prev
  2. Next