You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
//====== Copyright © 1996-2009, Valve Corporation, All rights reserved. =====//
|
|
//
|
|
// Globals applyign to Eyeballs
|
|
//
|
|
//===========================================================================//
|
|
|
|
|
|
#ifndef DMEEYEBALLGLOBALS_H
|
|
#define DMEEYEBALLGLOBALS_H
|
|
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
// Valve includes
|
|
#include "datamodel/dmattributevar.h"
|
|
#include "datamodel/dmelement.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Forward Declarations
|
|
//-----------------------------------------------------------------------------
|
|
class CDmeDag;
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Globals applying to Eyeballs
|
|
//-----------------------------------------------------------------------------
|
|
class CDmeEyeballGlobals : public CDmElement
|
|
{
|
|
DEFINE_ELEMENT( CDmeEyeballGlobals, CDmElement );
|
|
|
|
public:
|
|
CDmaVar< Vector > m_vEyePosition; // The position of the eye
|
|
CDmaVar< float > m_flMaxEyeDeflection; // The maximum amount of eye deflection
|
|
};
|
|
|
|
|
|
#endif // DMEEYEBALLGLOBALS_H
|