mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
2b5709f63a
commit
318474d675
@ -233,3 +233,32 @@ INLINE void ClockObject::
|
||||
set_time(double time) {
|
||||
set_real_time(time);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TimeVal::contructor
|
||||
// Access: Public
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE TimeVal::
|
||||
TimeVal(void) {
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TimeVal::get_sec
|
||||
// Access: Public
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE ulong TimeVal::
|
||||
get_sec(void) const {
|
||||
return tv[0];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TimeVal::get_usec
|
||||
// Access: Public
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE ulong TimeVal::
|
||||
get_usec(void) const {
|
||||
return tv[1];
|
||||
}
|
||||
|
@ -53,15 +53,6 @@ tick() {
|
||||
_frame_count++;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TimeVal::contructor
|
||||
// Access: Public
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
TimeVal::
|
||||
TimeVal(void) {
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: get_time_of_day
|
||||
// Description:
|
||||
|
@ -13,7 +13,9 @@
|
||||
|
||||
class EXPCL_PANDAEXPRESS TimeVal {
|
||||
PUBLISHED:
|
||||
TimeVal();
|
||||
INLINE TimeVal(void);
|
||||
INLINE ulong get_sec(void) const;
|
||||
INLINE ulong get_usec(void) const;
|
||||
ulong tv[2];
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user