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
This commit is contained in:
20
dlls/arrayx/JudyVec.h
Normal file
20
dlls/arrayx/JudyVec.h
Normal file
@ -0,0 +1,20 @@
|
||||
#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
|
Reference in New Issue
Block a user