2024-01-06 14:56:45 -08:00
|
|
|
|
2024-01-06 18:32:21 -08:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
2024-01-06 14:56:45 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PerspectiveCameraParameters(BaseModel):
|
|
|
|
"""Defines a perspective view."""
|
|
|
|
|
|
|
|
fov_y: float
|
|
|
|
|
|
|
|
z_far: float
|
|
|
|
|
|
|
|
z_near: float
|
2024-01-06 18:32:21 -08:00
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|