Source

pygame / test / math_test.py

Author Commit Message Labels Comments Date
marcus
Reimplemented and simplified unit test framework.
Branches
pgreloaded
marcus
Added Lorenz' patch set for the math module, addressing: * consistently use degrees and not radians * raise a ValueError rather than a ZeroDivisionError in case the div zero occurs during an internal calculation. * SLERP implementation is more robust. check for special cases like angle=0,180,360 degrees. * fixed a bug in LERP. t must be in range [0,1] * in the rotation methods: check if the rotation axis is zero and raise a ValueEr…
Branches
pgreloaded
marcus
Added copy support to math.Vector class.
Branches
pgreloaded
marcus
Added pygame2.resources - resource handling routines. Added stream support for freetype.Font files. Added generic CPyStreamWrapper object for stream management within the C API. Added IsRead/WriteableStreamObj() C API methods for stream checking. Added bufferproxy unit tests. Added sdlext.fastevents documentation. Added more sdl.video.Surface unit tests. Added LongFromObj() and UlongFromObj() C API methods. Completed most math module portage (from tr…
Branches
pgreloaded
marcus
More math module portage (from trunk). Fixed memory leak in sdl.time. Fixed width/height args in base.Rect constructor for some 64 bit platforms.
Branches
pgreloaded
marcus
Started to backport math module (from trunk). Removed examples from doc packaging - they are shipped with the library. Increased version numbers.
Branches
pgreloaded