amxmodx/dlls/arrayx/JudyVec.h
Twilight Suzuka 5c88803942 New update! 3.1 is liiiive!
Error handling:
Array now has sufficiently advanced error handling to remove most, if not all, disable_checks.

Extention:
With the metaprogramming techniques, new types can be added easily.

Speed:
With the new changes I've made to Judy, the Array module has far exceeded the speed of any traditional datatype
2006-03-14 02:54:24 +00:00

20 lines
417 B
C++

#ifndef _JUDYVEC_INCLUDED
#define _JUDYVEC_INCLUDED
#include "JudyIncludes.h"
class JudyVec
{
public:
REAL first;
REAL second;
REAL third;
JudyVec(REAL one, REAL two, REAL three) { Set(one, two, three); }
~JudyVec() {}
void Get(REAL& one, REAL& two, REAL& three) { one = first; two = second; three = third; }
void Set(REAL one, REAL two, REAL three) { first = one; second = two; third = three; }
};
#endif