mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
*** empty log message ***
This commit is contained in:
parent
7fde21f32b
commit
08fc030c99
@ -12,7 +12,16 @@
|
||||
|
||||
class EXPCL_PANDAEXPRESS HashVal {
|
||||
public:
|
||||
uint get_value(int val) const {
|
||||
INLINE HashVal(void) {
|
||||
hv[0] = hv[1] = hv[2] = hv[3] = 0;
|
||||
}
|
||||
INLINE bool operator == (const HashVal &other) const {
|
||||
return (hv[0] == other.hv[0] &&
|
||||
hv[1] == other.hv[1] &&
|
||||
hv[2] == other.hv[2] &&
|
||||
hv[3] == other.hv[3]);
|
||||
}
|
||||
INLINE uint get_value(int val) const {
|
||||
if (val < 4 && val >= 0)
|
||||
return hv[val];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user