mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-05 18:28:06 -04:00
Documentation pass on WaterBox code (#1860)
* Documentation pass on WaterBox code * format * vtx flags, fix comments * format * Add function documentation comment
This commit is contained in:
+1
-1
@@ -820,7 +820,7 @@ s32 Camera_GetWaterBoxBgCamSetting(Camera* camera, f32* waterY) {
|
||||
playerPosShape = Actor_GetWorldPosShapeRot(camera->focalActor);
|
||||
*waterY = playerPosShape.pos.y;
|
||||
|
||||
if (!WaterBox_GetSurfaceImpl(camera->play, &camera->play->colCtx, playerPosShape.pos.x, playerPosShape.pos.z,
|
||||
if (!BgCheck_GetWaterSurface(camera->play, &camera->play->colCtx, playerPosShape.pos.x, playerPosShape.pos.z,
|
||||
waterY, &waterBox, &bgId)) {
|
||||
// player's position is not in a waterbox
|
||||
*waterY = playerPosShape.pos.y;
|
||||
|
||||
Reference in New Issue
Block a user