mirror of
https://github.com/zeldaret/botw
synced 2026-07-08 05:40:38 -04:00
ksys/phys: Add ShapeCast
This commit is contained in:
@@ -19,11 +19,7 @@ void ClosestPointQuery::reset() {
|
||||
}
|
||||
|
||||
void ClosestPointQuery::setLayerMasks(const LayerMaskBuilder& builder) {
|
||||
auto* info = mContactPointInfo;
|
||||
for (int i = 0; i < NumContactLayerTypes; ++i) {
|
||||
info->mSubscribedLayers[i] = builder.getMasks()[i].layers;
|
||||
info->mLayerMask2[i] = builder.getMasks()[i].layers2;
|
||||
}
|
||||
mContactPointInfo->setLayerMasks(builder);
|
||||
}
|
||||
|
||||
bool ClosestPointQuery::isSuccess() const {
|
||||
|
||||
Reference in New Issue
Block a user