Lagrangian Liquid Simulation
Master Thesis project on simulation of liquids using Lagrangian approach and SPH
src/CacheItem.cpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 #include "CacheItem.h"
00005 
00006 CacheItem::CacheItem
00007             (
00008                 const std::vector<std::vector<ngl::Vector> > _positionList,
00009                 const std::vector<std::string> _nameList,
00010                 const int _frameNumber,
00011                 const CacheItemType _cacheItemType
00012                 )
00013 {
00014     m_positionList = _positionList;
00015     m_nameList = _nameList;
00016     m_frameNumber = _frameNumber;
00017     m_cacheItemType = _cacheItemType;
00018 }
00019 
00020 CacheItem::CacheItem(const CacheItem& _cacheItem)
00021 {
00022     m_positionList = _cacheItem.m_positionList;
00023     m_nameList = _cacheItem.m_nameList;
00024     m_frameNumber = _cacheItem.m_frameNumber;
00025     m_cacheItemType = _cacheItem.m_cacheItemType;
00026 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator