BeaR
9f0b0af862
Add angle<->direction conversion functions to vector math (Cleanup)
...
Keep angle() (ex. GetAngle()) as-is.
(cherry picked from commit 7735557aa5
)
2021-01-16 03:20:57 +03:00
Jupeyy
f83d528f5d
Fix vector constructor impl & remove useless operator
2020-11-20 12:14:33 +01:00
Jupeyy
3aef2ebfe0
Make closest_point_on_line safer
...
Does not change behaviour, all NaNs resulted in false checks
2020-10-17 20:22:13 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Jupeyy
8235df7752
Add menu background map
2020-09-23 23:38:28 +02:00
Dennis Felsing
a27358806c
Revert "Support shotgun_speed 0"
...
This reverts commit 9d39ca888f
.
2019-12-09 14:59:10 +01:00
def
9d39ca888f
Support shotgun_speed 0
...
for mapping stationary bullets
2019-11-27 18:29:39 +01:00
heinrich5991
b90dd43118
Fix -Wdeprecated-copy from GCC9
2019-06-26 11:53:39 +02:00
Learath
95a3a69e08
Start phasing out vectors for colors
2019-04-25 18:21:35 +03:00
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
heinrich5991
f7dde1e061
Partially revert #681
...
The refactoring can cause a gameplay change, laws of associativity like
`x * (1 / z) == (x * 1) / z` don't hold for floating point numbers.
2017-03-16 10:19:08 +01:00
Ryozuki
d0c317d7c7
Fix a typo and refactor the normalize function
2017-03-16 07:55:49 +01:00
oy
893964848e
fixed wrong types within vector constructors. Closes #1371
2015-08-22 21:49:11 +02:00
def
8a6e115b13
Add != for vectors ( fixes #202 )
2015-04-28 19:02:13 +02:00
oy
7d2df3a386
added some vector operators
2012-01-09 00:38:20 +01:00
oy
06115dd49d
added "Whitespace and line Endings cleanup" by GreYFoX
2011-04-13 20:37:12 +02:00
Sworddragon
fc9211c777
Updated copyrights
2010-11-20 21:26:06 +01:00
Magnus Auvinen
575f72d978
fixed some compiler errors and warnings with clang
2010-07-05 20:57:07 +02:00
Magnus Auvinen
72c06a2589
copied refactor to trunk
2010-05-29 07:25:38 +00:00