cleanup of vector import

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401076
This commit is contained in:
David Anderson 2007-07-08 17:34:44 +00:00
parent c1190fe89d
commit f3566e6f4c

View File

@ -17,9 +17,9 @@
#include <mathlib.h>
#define SET_VECTOR(addr, vec) \
addr[0] = vec.x; \
addr[1] = vec.y; \
addr[2] = vec.z;
addr[0] = sp_ftoc(vec.x); \
addr[1] = sp_ftoc(vec.y); \
addr[2] = sp_ftoc(vec.z);
static cell_t GetVectorLength(IPluginContext *pContext, const cell_t *params)
{