sead
Loading...
Searching...
No Matches
aglDepthShadow.h
Go to the documentation of this file.
1#pragma once
2
3#include <geom/seadSphere.h>
4#include <math/seadBoundBox.h>
5#include <prim/seadBitFlag.h>
6
7namespace agl { namespace sdw {
8
10{
11 typedef sead::BitFlag32 (DepthShadow::*CheckAndUpdateBoundBox)(const sead::BoundBox3f&);
12 typedef sead::BitFlag32 (DepthShadow::*CheckAndUpdateSphere)(const sead::Sphere3f&);
13
14public:
16 virtual ~DepthShadow();
17
19 {
20 return (this->*mpCheckAndUpdateBoundBox)(box);
21 }
22
24 {
25 return (this->*mpCheckAndUpdateSphere)(sphere);
26 }
27
28private:
29 CheckAndUpdateBoundBox mpCheckAndUpdateBoundBox;
30 CheckAndUpdateSphere mpCheckAndUpdateSphere;
31 u32 _10[(0xC04 - 0x10) / sizeof(u32)];
32};
33static_assert(sizeof(DepthShadow) == 0xC08, "agl::sdw::DepthShadow size mismatch");
34
35} }
Definition aglDepthShadow.h:10
sead::BitFlag32 checkAndUpdate(const sead::Sphere3f &sphere)
Definition aglDepthShadow.h:23
CheckAndUpdateBoundBox mpCheckAndUpdateBoundBox
Definition aglDepthShadow.h:29
CheckAndUpdateSphere mpCheckAndUpdateSphere
Definition aglDepthShadow.h:30
u32 _10[(0xC04 - 0x10)/sizeof(u32)]
Definition aglDepthShadow.h:31
sead::BitFlag32 checkAndUpdate(const sead::BoundBox3f &box)
Definition aglDepthShadow.h:18
Definition aglDepthShadow.h:7
Definition aglDisplayList.cpp:5
Definition seadAssert.h:44
Sphere< Vector3f > Sphere3f
Definition seadSphere.h:46
BitFlag< u32 > BitFlag32
Definition seadBitFlag.h:125
BoundBox3< f32 > BoundBox3f
Definition seadBoundBox.h:188