Commit Graph

10 Commits

Author SHA1 Message Date
IgnacioFDM
ff488dd81f Add new xs stocks (#426)
xs_vec_len_2d returns the length of a 2D vector

xs_vec_distance returns the distance between two vectors
xs_vec_distance_2d returns the distance between two 2D vectors

xs_vec_add_scaled and xs_vec_sub_scaled do two operations
in one for convenience and performance. They add/subtract a vector
scaled by a scalar to another vector. Very useful when working with
unit vectors.
2017-04-03 18:41:46 +02:00
xPaw
0ccb99137a Make spcomp2 cry less 2015-03-11 15:19:27 +02:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
xPaw
c219878ac2 Remove XS__LIBRELEASE and tabs so docgen can catch the stocks 2014-08-03 22:26:54 +03:00
Arkshine
07534edfcd Use the new constants in various place. 2014-07-20 12:27:02 +02:00
xPaw
ae9315ad48 🔥 Remove amxmod compatability
This doesn't remove anything from the engine
2014-06-05 13:48:56 +03:00
Steve Dudenhoeffer
62c41fbd03 Removed semi colon pragma 2007-08-10 03:41:59 +00:00
Christian Hammacher
2dc3f2bec9 fixed bug at41483 2006-07-17 12:42:59 +00:00
Scott Ehlert
f10ecbb239 Small bug fix and tiny optimizations in xs_get_maxmessages and xs_is_msg_valid
Added xs_vec_maked2d (at28754)
2006-04-28 21:10:29 +00:00
Pavol Marko
ca720c8c83 XS Library 2004-11-13 10:20:12 +00:00