cleanup of vector import
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401076
This commit is contained in:
parent
c1190fe89d
commit
f3566e6f4c
@ -17,9 +17,9 @@
|
|||||||
#include <mathlib.h>
|
#include <mathlib.h>
|
||||||
|
|
||||||
#define SET_VECTOR(addr, vec) \
|
#define SET_VECTOR(addr, vec) \
|
||||||
addr[0] = vec.x; \
|
addr[0] = sp_ftoc(vec.x); \
|
||||||
addr[1] = vec.y; \
|
addr[1] = sp_ftoc(vec.y); \
|
||||||
addr[2] = vec.z;
|
addr[2] = sp_ftoc(vec.z);
|
||||||
|
|
||||||
static cell_t GetVectorLength(IPluginContext *pContext, const cell_t *params)
|
static cell_t GetVectorLength(IPluginContext *pContext, const cell_t *params)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user