mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Metadrive: set near clip (#30745)
set near old-commit-hash: da12a34ff66dbe70f532056ba43a6fdb228d41d3
This commit is contained in:
@@ -37,6 +37,7 @@ class RGBCameraWide(CopyRamRGBCamera):
|
||||
cam.setPos(C3_POSITION)
|
||||
lens = self.get_lens()
|
||||
lens.setFov(120)
|
||||
lens.setNear(0.1)
|
||||
|
||||
class RGBCameraRoad(CopyRamRGBCamera):
|
||||
def __init__(self, *args, **kwargs):
|
||||
@@ -45,6 +46,7 @@ class RGBCameraRoad(CopyRamRGBCamera):
|
||||
cam.setPos(C3_POSITION)
|
||||
lens = self.get_lens()
|
||||
lens.setFov(40)
|
||||
lens.setNear(0.1)
|
||||
|
||||
|
||||
def straight_block(length):
|
||||
|
||||
Reference in New Issue
Block a user