Update CameraIntrinsic
This commit is contained in:
@@ -72,6 +72,9 @@ namespace OpenVulkano::Math
|
|||||||
return cameraMatrix[1][0];
|
return cameraMatrix[1][0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[nodiscard]] Math::Vector2f GetFocalLength() const { return { Fx(), Fy() }; }
|
||||||
|
[[nodiscard]] Math::Vector2f GetPrincipalPoint() const { return { Cx(), Cy() }; }
|
||||||
|
|
||||||
[[nodiscard]] float PixelAspectRatio() const
|
[[nodiscard]] float PixelAspectRatio() const
|
||||||
{
|
{
|
||||||
return Fy() / Fx();
|
return Fy() / Fx();
|
||||||
|
|||||||
Reference in New Issue
Block a user