mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-02 17:27:23 -04:00
029cb62972
* Fixed nil pointer in Copy() * Position added Added Floor() and String() methods to Vector. Also added Position which declares an embedded Vector2 and returns various forms of it. * d2vector.Vector2 renamed to d2vector.BigFloat * vector.go renamed to big_float.go * Float64 stub and more renaming * Vector value getters * Separate vector types with initial methods. * Divide and lint warnings. * Distance and Length. * Scale, Abs and Negate. * CompareFloat64Fuzzy delta direction reversed. * Refactor vector_test.go. * Renamed Approx methods. * Distance and Length. * Distance and Length. * Removed BigFloat and Vector, renamed Float64 to Vector, simplified tests. * Angle, SignedAngle and other small functions. * Receiver rename. * SingedAngle and test fixed * Rotate. * SetLength. * Cross. * NinetyAnti and NinetyClock. * Lerp and Clamp. * Reflect and ReflectSurface. * Cardinal convenience functions. * Comments. * Panic on NaN and Inf in Position. * Lint warnings and comments. |
||
---|---|---|
.. | ||
animation.go | ||
archive_data_stream.go | ||
archive_manager.go | ||
archive.go | ||
archived_animation_manager.go | ||
archived_file_manager.go | ||
archived_font_manager.go | ||
archived_palette_manager.go | ||
audio_provider.go | ||
bitmuncher.go | ||
bitstream.go | ||
cache.go | ||
doc.go | ||
font.go | ||
input_events.go | ||
input_handlers.go | ||
input_manager.go | ||
input_service.go | ||
map_entity.go | ||
palette.go | ||
renderer.go | ||
sound_effect.go | ||
surface.go | ||
terminal.go |