withUpdatedPosAndRot method
Creates a new camera with updated pos and rot.
Parameters:
position
: New image width in pixelsrotation
: New image height in pixels
Implementation
GaussianCamera withUpdatedPosAndRot({
required Vector3 position,
required Matrix3 rotation,
}) {
return GaussianCamera(
id: id,
width: width,
height: height,
position: position,
rotation: rotation,
fx: fx,
fy: fy,
);
}