소스 검색

Bugfix: the default distance of the far plane was too small

customisations
alemart 3 년 전
부모
커밋
269ed97b73
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    4
      src/geometry/view.ts

+ 4
- 4
src/geometry/view.ts 파일 보기

@@ -26,11 +26,11 @@ import { SpeedyMatrix } from 'speedy-vision/types/core/speedy-matrix';
26 26
 import { CameraModel, FX, FY, U0, V0 } from './camera-model';
27 27
 import { IllegalArgumentError } from '../utils/errors';
28 28
 
29
-/** Default distance of the near plane to the optical center of the camera */
30
-const DEFAULT_NEAR = 0.1;
29
+/** Default distance in pixels of the near plane to the optical center of the camera */
30
+const DEFAULT_NEAR = 1;
31 31
 
32
-/** Default distance of the far plane to the optical center of the camera */
33
-const DEFAULT_FAR = 2000;
32
+/** Default distance in pixels of the far plane to the optical center of the camera */
33
+const DEFAULT_FAR = 20000;
34 34
 
35 35
 
36 36
 

Loading…
취소
저장