1. pygame
  2. Untitled project
  3. pygame

Source

pygame / test / math_vector3_test.py

Author Commit Message Date Builds
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
Fixed png DLL detection for Win32. Renamed ColorFromObj -> SDLColorFromObj Added generic ColorFromObj C API method in base module. Added basic OpenAL Context class. Added ARGB/RGBA conversion macros. Minor sdlgfx.primitives color handling fixes (incomplete). Added some sdl.wm unit tests.
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