mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/* Copyright 2003-2009 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Util/NormalId.h"
|
||||
|
||||
namespace RBX {
|
||||
|
||||
//A utility class for holding a set of "Faces" associated with an object (top, bottom, left, right, front, back)
|
||||
class Faces
|
||||
{
|
||||
public:
|
||||
Faces(int normalIdMask = 0);
|
||||
void clear() { normalIdMask = NORM_NONE_MASK; }
|
||||
void setNormalId(NormalId normalId, bool value);
|
||||
bool getNormalId(NormalId normalId) const;
|
||||
|
||||
|
||||
bool operator==(const Faces& other) const {
|
||||
return normalIdMask == other.normalIdMask;
|
||||
}
|
||||
bool operator!=(const Faces& other) const {
|
||||
return normalIdMask != other.normalIdMask;
|
||||
}
|
||||
|
||||
|
||||
int normalIdMask;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user