mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
20 lines
484 B
C++
20 lines
484 B
C++
//
|
|
// EntitySimulation.cpp
|
|
// libraries/entities/src
|
|
//
|
|
// Created by Andrew Meadows on 2014.11.24
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "EntitySimulation.h"
|
|
|
|
void EntitySimulation::setEntityTree(EntityTree* tree) {
|
|
if (_entityTree && _entityTree != tree) {
|
|
clearEntities();
|
|
}
|
|
_entityTree = tree;
|
|
}
|
|
|