-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
606 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
#pragma once | ||
|
||
#include "rk_types.h" | ||
|
||
#include "egg/math/eggVector.hpp" | ||
|
||
namespace Field { | ||
struct KCollisionHeader { | ||
u32 pos_data_offset; | ||
u32 nrm_data_offset; | ||
u32 prism_data_offset; | ||
u32 block_data_offset; | ||
f32 prism_thickness; | ||
EGG::Vector3f area_min_pos; | ||
u32 area_x_width_mask; | ||
u32 area_y_width_mask; | ||
u32 area_z_width_mask; | ||
u32 block_width_shift; | ||
u32 area_x_blocks_shift; | ||
u32 area_xy_blocks_shift; | ||
f32 sphere_radius; | ||
}; | ||
|
||
struct KCollisionPrism { | ||
// inlined after KCollisionOctree ctor I think ~KCollisionPrism() {} | ||
|
||
f32 height; | ||
u16 pos_i; | ||
u16 fnrm_i; | ||
u16 enrm1_i; | ||
u16 enrm2_i; | ||
u16 enrm3_i; | ||
u16 attribute; | ||
}; | ||
} |
Oops, something went wrong.