DDraceNetwork Docs
CPlayer::CCameraInfo Class Reference

#include <player.h>

Public Member Functions

vec2 ConvertTargetToWorld (vec2 Position, vec2 Target) const
 
void Write (const CNetMsg_Cl_CameraInfo *pMsg)
 
void Reset ()
 

Private Attributes

bool m_HasCameraInfo
 
float m_Zoom
 
int m_Deadzone
 
int m_FollowFactor
 

Friends

class CPlayer
 

Member Function Documentation

◆ ConvertTargetToWorld()

vec2 CPlayer::CCameraInfo::ConvertTargetToWorld ( vec2  Position,
vec2  Target 
) const

◆ Reset()

void CPlayer::CCameraInfo::Reset ( )

◆ Write()

void CPlayer::CCameraInfo::Write ( const CNetMsg_Cl_CameraInfo *  pMsg)

Friends And Related Function Documentation

◆ CPlayer

friend class CPlayer
friend

Member Data Documentation

◆ m_Deadzone

int CPlayer::CCameraInfo::m_Deadzone
private

◆ m_FollowFactor

int CPlayer::CCameraInfo::m_FollowFactor
private

◆ m_HasCameraInfo

bool CPlayer::CCameraInfo::m_HasCameraInfo
private

◆ m_Zoom

float CPlayer::CCameraInfo::m_Zoom
private

The documentation for this class was generated from the following files: