Fix collide issue on PSP
This commit is contained in:
@@ -17,8 +17,13 @@
|
||||
#include "display/color.h"
|
||||
#include "time/time.h"
|
||||
|
||||
#define OVERWORLD_SCENE_CAMERA_ORBIT_RADIUS 8.0f
|
||||
#define OVERWORLD_SCENE_CAMERA_ORBIT_HEIGHT 5.0f
|
||||
// Radius must stay well outside the floor's footprint (a 20x20 plane has a
|
||||
// corner-to-center distance of 10*sqrt(2) =~ 14.1) -- orbiting inside that
|
||||
// puts parts of the floor's own geometry near/behind the camera's view
|
||||
// direction, which the PSP's legacy GU pipeline can't clip properly and
|
||||
// drops the whole triangle instead of clipping it.
|
||||
#define OVERWORLD_SCENE_CAMERA_ORBIT_RADIUS 18.0f
|
||||
#define OVERWORLD_SCENE_CAMERA_ORBIT_HEIGHT 10.0f
|
||||
#define OVERWORLD_SCENE_CAMERA_ORBIT_SPEED 0.5f
|
||||
|
||||
static overworldcameraorbit_t OVERWORLD_SCENE_CAMERA_ORBIT;
|
||||
|
||||
Reference in New Issue
Block a user