Skip to content

File test_camera.cpp

FileList > gui > tests > test_camera.cpp

Go to the source code of this file

  • #include <gtest/gtest.h>
  • #include <QPointF>
  • #include <QVector3D>
  • #include <cmath>
  • #include "gui/camera.hpp"

Public Functions

Type Name
TEST (Camera, PanToTargetMovesFocalPointToTarget)
TEST (Camera, PanToTargetNoOpWhenAlreadyCentered)
TEST (Camera, LookAtTargetReorientsWithoutMovingPosition)
TEST (Camera, ProjectWorldToScreenRoundTripsWithUnproject)
TEST (Camera, ProjectWorldToScreenBehindCameraReturnsSentinel)

Public Functions Documentation

function TEST

TEST (
    Camera,
    PanToTargetMovesFocalPointToTarget
) 

function TEST

TEST (
    Camera,
    PanToTargetNoOpWhenAlreadyCentered
) 

function TEST

TEST (
    Camera,
    LookAtTargetReorientsWithoutMovingPosition
) 

function TEST

TEST (
    Camera,
    ProjectWorldToScreenRoundTripsWithUnproject
) 

function TEST

TEST (
    Camera,
    ProjectWorldToScreenBehindCameraReturnsSentinel
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/tests/test_camera.cpp