TORCS  1.3.9
The Open Racing Car Simulator
grcam.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <memory.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <plib/ssg.h>
#include <robottools.h>
#include <portability.h>
#include <graphic.h>
#include "grcam.h"
#include "grscreen.h"
#include "grscene.h"
#include "grshadow.h"
#include "grskidmarks.h"
#include "grsmoke.h"
#include "grcar.h"
#include "grmain.h"
#include "grutil.h"
#include <tgfclient.h>
Include dependency graph for grcam.cpp:

Go to the source code of this file.

Classes

class  cGrCarCamInside
 
class  cGrCarCamInsideFixedCar
 
class  cGrCarCamBehind
 
class  cGrCarCamBehind2
 
class  cGrCarCamFront
 
class  cGrCarCamSide
 
class  cGrCarCamUp
 
class  cGrCarCamCenter
 
class  cGrCarCamLookAt
 
class  cGrCarCamRoadNoZoom
 
class  cGrCarCamRoadFly
 
class  cGrCarCamRoadZoom
 
struct  tSchedView
 
class  cGrCarCamRoadZoomTVD
 

Macros

#define M(row, col)   dst[row][col]
 

Functions

static void grMakeLookAtMat4 (sgMat4 dst, const sgVec3 eye, const sgVec3 center, const sgVec3 up)
 
static tdble GetDistToStart (tCarElt *car)
 
void grCamCreateSceneCameraList (class cGrScreen *myscreen, tGrCamHead *cams, tdble fovFactor)
 

Macro Definition Documentation

◆ M

#define M (   row,
  col 
)    dst[row][col]

Function Documentation

◆ GetDistToStart()

static tdble GetDistToStart ( tCarElt car)
static

Definition at line 1102 of file grcam.cpp.

◆ grCamCreateSceneCameraList()

void grCamCreateSceneCameraList ( class cGrScreen myscreen,
tGrCamHead *  cams,
tdble  fovFactor 
)

Definition at line 1292 of file grcam.cpp.

Here is the call graph for this function:

◆ grMakeLookAtMat4()

static void grMakeLookAtMat4 ( sgMat4  dst,
const sgVec3  eye,
const sgVec3  center,
const sgVec3  up 
)
static

Definition at line 56 of file grcam.cpp.