mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-16 01:54:38 +02:00
#8 fix camera
This commit is contained in:
@@ -332,7 +332,7 @@ struct Camera : ICamera {
|
||||
TR::CameraFrame *frameA = &level->cameraFrames[indexA];
|
||||
TR::CameraFrame *frameB = &level->cameraFrames[indexB];
|
||||
|
||||
const float maxDelta = 256 * 256;
|
||||
const float maxDelta = 512 * 512;
|
||||
|
||||
float dp = (vec3(frameA->pos) - vec3(frameB->pos)).length2();
|
||||
float dt = (vec3(frameA->target) - vec3(frameB->target)).length2();
|
||||
|
Reference in New Issue
Block a user