doodle  0.2
Intended to support teaching C++, doodle is a simple library that helps make a window and makes it easy to do some drawing.
environment.hpp
Go to the documentation of this file.
1 /*--------------------------------------------------------------*
2  Copyright (C) 2021 Rudy Castan
3 
4  This file is distributed WITHOUT ANY WARRANTY. See the file
5  `License.md' for details.
6 *--------------------------------------------------------------*/
7 #pragma once
8 
9 
10 namespace doodle
11 {
41  extern int FrameCount;
98  extern double DeltaTime;
120  extern double ElapsedTime;
139  extern int Width;
158  extern int Height;
160 }
double DeltaTime
The system variable DeltaTime contains the time difference between the beginning of the previous fram...
int FrameCount
The system variable FrameCount contains the number of frames that have been displayed since the progr...
double ElapsedTime
Returns the number of seconds since starting the program. This information is often used for timing e...
int Width
System variable that stores the width of the drawing canvas. This value is set by the desired_width p...
int Height
System variable that stores the height of the drawing canvas. This value is set by the desired_height...
Definition: angle.hpp:11