mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Decouple Debug Features From gc-eu-mq-dbg (#2296)
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
This commit is contained in:
parent
cf4dc98cc9
commit
17edb82c0d
168 changed files with 652 additions and 606 deletions
|
@ -929,7 +929,7 @@ f32 Math3D_Plane(Plane* plane, Vec3f* pointOnPlane) {
|
|||
* `nx`, `ny`, `nz`, and `originDist`
|
||||
*/
|
||||
f32 Math3D_UDistPlaneToPos(f32 nx, f32 ny, f32 nz, f32 originDist, Vec3f* p) {
|
||||
if (OOT_DEBUG && IS_ZERO(sqrtf(SQ(nx) + SQ(ny) + SQ(nz)))) {
|
||||
if (DEBUG_FEATURES && IS_ZERO(sqrtf(SQ(nx) + SQ(ny) + SQ(nz)))) {
|
||||
PRINTF(VT_COL(YELLOW, BLACK));
|
||||
PRINTF(T("Math3DLengthPlaneAndPos():法線size がゼロ近いです%f %f %f\n",
|
||||
"Math3DLengthPlaneAndPos(): Normal size is near zero %f %f %f\n"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue