openMSX
Functions
gl_transform.cc File Reference
#include "catch.hpp"
#include "gl_transform.hh"
Include dependency graph for gl_transform.cc:

Go to the source code of this file.

Functions

 TEST_CASE ("gl_transform: scale")
 
 TEST_CASE ("gl_transform: translate")
 
 TEST_CASE ("gl_transform: scale + translate")
 
 TEST_CASE ("gl_transform: rotation")
 
 TEST_CASE ("gl_transform: ortho")
 
 TEST_CASE ("gl_transform: frustum")
 

Function Documentation

◆ TEST_CASE() [1/6]

TEST_CASE ( "gl_transform: scale"  )

Definition at line 21 of file gl_transform.cc.

References CHECK(), and gl::scale().

◆ TEST_CASE() [2/6]

TEST_CASE ( "gl_transform: translate"  )

Definition at line 39 of file gl_transform.cc.

References CHECK(), and gl::translate().

◆ TEST_CASE() [3/6]

TEST_CASE ( "gl_transform: scale + translate"  )

Definition at line 60 of file gl_transform.cc.

References CHECK(), gl::scale(), t, and gl::translate().

◆ TEST_CASE() [4/6]

TEST_CASE ( "gl_transform: rotation"  )

Definition at line 83 of file gl_transform.cc.

References CHECK(), gl::radians(), and gl::rotateX().

◆ TEST_CASE() [5/6]

TEST_CASE ( "gl_transform: ortho"  )

Definition at line 163 of file gl_transform.cc.

References CHECK(), O, and gl::ortho().

◆ TEST_CASE() [6/6]

TEST_CASE ( "gl_transform: frustum"  )

Definition at line 172 of file gl_transform.cc.

References CHECK(), openmsx::F, and gl::frustum().