mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-07 02:05:35 -04:00
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
#include "SSystem/SComponent/c_bg_s_poly_info.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#define C_BG_INVALID_HEIGHT (-1e+9f)
|
||||
#define C_BG_MIN_HEIGHT (-1e+9f)
|
||||
#define C_BG_MAX_HEIGHT (1e+9f)
|
||||
|
||||
class fopAc_ac_c;
|
||||
class cBgS_ShdwDraw;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef C_M3D_G_AAB_H
|
||||
#define C_M3D_G_AAB_H
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s.h"
|
||||
#include "SSystem/SComponent/c_xyz.h"
|
||||
#include "SSystem/SComponent/c_m3d.h"
|
||||
#include "SSystem/SComponent/c_m3d_g_lin.h"
|
||||
@@ -61,8 +62,8 @@ public:
|
||||
mMax.x = -1000000000.0f;
|
||||
}
|
||||
void ClearForMinMaxY() {
|
||||
mMin.y = 1000000000.0f;
|
||||
mMax.y = -1000000000.0f;
|
||||
mMin.y = C_BG_MAX_HEIGHT;
|
||||
mMax.y = C_BG_MIN_HEIGHT;
|
||||
}
|
||||
void SetMinMaxY(f32 y) {
|
||||
if (mMin.y > y) {
|
||||
|
||||
Reference in New Issue
Block a user