| 1 | #include "gfx/seadCamera.h" |
|---|---|
| 2 | #include "basis/seadRawPrint.h" |
| 3 | |
| 4 | namespace sead |
| 5 | { |
| 6 | Camera::~Camera() = default; |
| 7 | |
| 8 | LookAtCamera::LookAtCamera(const Vector3f& pos, const Vector3f& at, const Vector3f& up) |
| 9 | : mPos(pos), mAt(at), mUp(up) |
| 10 | { |
| 11 | SEAD_ASSERT(mPos != mAt); |
| 12 | mUp.normalize(); |
| 13 | } |
| 14 | } // namespace sead |
| 15 |