mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-29 20:14:41 +00:00
21 lines
518 B
C++
21 lines
518 B
C++
#include "Library/LiveActor/ActorClippingFunction.h"
|
|
|
|
#include "Library/LiveActor/LiveActor.h"
|
|
#include "Library/LiveActor/LiveActorFlag.h"
|
|
|
|
namespace al {
|
|
bool isClipped(const LiveActor* actor) {
|
|
return actor->getFlags()->isClipped;
|
|
}
|
|
|
|
bool isInvalidClipping(const LiveActor* actor) {
|
|
return actor->getFlags()->isClippingInvalid;
|
|
}
|
|
} // namespace al
|
|
|
|
namespace alActorFunction {
|
|
bool isDrawClipping(const al::LiveActor* actor) {
|
|
return actor->getFlags()->isDrawClipped;
|
|
}
|
|
} // namespace alActorFunction
|