open_toontown_panda3d/panda/src/sgattrib/depthTestTransition.I

37 lines
1.1 KiB
Plaintext

// Filename: depthTestTransition.I
// Created by: drose (22Mar00)
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: DepthTestTransition::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE DepthTestTransition::
DepthTestTransition(DepthTestProperty::Mode mode) :
_value(mode)
{
}
////////////////////////////////////////////////////////////////////
// Function: DepthTestTransition::set_mode
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void DepthTestTransition::
set_mode(DepthTestProperty::Mode mode) {
_value.set_mode(mode);
state_changed();
}
////////////////////////////////////////////////////////////////////
// Function: DepthTestTransition::get_mode
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE DepthTestProperty::Mode DepthTestTransition::
get_mode() const {
return _value.get_mode();
}