mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 15:49:19 +02:00
merge manul
This commit is contained in:
10
manul/renderer/source/motioncache.cpp
Normal file
10
manul/renderer/source/motioncache.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "motioncache.h"
|
||||
|
||||
MotionCacheScope::MotionCacheScope(void const* instance, MotionCache* cache)
|
||||
: m_instance(instance), m_cache(cache) {
|
||||
m_cache->SetActiveScope(this);
|
||||
}
|
||||
|
||||
MotionCacheScope::~MotionCacheScope() {
|
||||
m_cache->UnsetActiveScope(this);
|
||||
}
|
||||
Reference in New Issue
Block a user