Minetest  5.4.0
camera.cpp File Reference
#include "camera.h"
#include "debug.h"
#include "client.h"
#include "config.h"
#include "map.h"
#include "clientmap.h"
#include "player.h"
#include <cmath>
#include "client/renderingengine.h"
#include "settings.h"
#include "wieldmesh.h"
#include "noise.h"
#include "sound.h"
#include "mtevent.h"
#include "nodedef.h"
#include "util/numeric.h"
#include "constants.h"
#include "fontengine.h"
#include "script/scripting_client.h"
+ Include dependency graph for camera.cpp:

Macros

#define CAMERA_OFFSET_STEP   200
 
#define WIELDMESH_OFFSET_X   55.0f
 
#define WIELDMESH_OFFSET_Y   -35.0f
 
#define WIELDMESH_AMPLITUDE_X   7.0f
 
#define WIELDMESH_AMPLITUDE_Y   10.0f
 

Functions

f32 my_modf (f32 x)
 
static v2f dir (const v2f &pos_dist)
 

Macro Definition Documentation

◆ CAMERA_OFFSET_STEP

#define CAMERA_OFFSET_STEP   200

◆ WIELDMESH_AMPLITUDE_X

#define WIELDMESH_AMPLITUDE_X   7.0f

◆ WIELDMESH_AMPLITUDE_Y

#define WIELDMESH_AMPLITUDE_Y   10.0f

◆ WIELDMESH_OFFSET_X

#define WIELDMESH_OFFSET_X   55.0f

◆ WIELDMESH_OFFSET_Y

#define WIELDMESH_OFFSET_Y   -35.0f

Function Documentation

◆ dir()

static v2f dir ( const v2f pos_dist)
inlinestatic

◆ my_modf()

f32 my_modf ( f32  x)
inline

Referenced by Camera::step(), and Camera::update().

+ Here is the caller graph for this function: