project-aster/samples/02_box/camera.h

15 lines
310 B
C

// =============================================
// Aster: camera.h
// Copyright (c) 2020-2024 Anish Bhobe
// =============================================
#pragma once
struct Camera
{
mat4 m_Projection;
mat4 m_View;
Camera(vec3 position, vec3 direction, f32 verticalFov, f32 aspectRatio);
};