mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:13:47 +02:00
more Model cleanup
This commit is contained in:
parent
89101872bb
commit
b449f650a0
3 changed files with 3 additions and 7 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <DeferredLightingEffect.h>
|
||||
#include <GeometryUtil.h>
|
||||
#include <Model.h>
|
||||
#include <SharedUtil.h>
|
||||
|
||||
#include <MetavoxelMessages.h>
|
||||
|
@ -32,7 +33,6 @@
|
|||
|
||||
#include "Application.h"
|
||||
#include "MetavoxelSystem.h"
|
||||
#include "renderer/Model.h"
|
||||
|
||||
REGISTER_META_OBJECT(DefaultMetavoxelRendererImplementation)
|
||||
REGISTER_META_OBJECT(SphereRenderer)
|
||||
|
|
|
@ -34,7 +34,6 @@ void RenderableLightEntityItem::render(RenderArgs* args) {
|
|||
PerformanceTimer perfTimer("RenderableLightEntityItem::render");
|
||||
assert(getType() == EntityTypes::Light);
|
||||
glm::vec3 position = getPositionInMeters();
|
||||
glm::vec3 center = getCenterInMeters();
|
||||
glm::vec3 dimensions = getDimensions() * (float)TREE_SCALE;
|
||||
glm::quat rotation = getRotation();
|
||||
float largestDiameter = glm::max(dimensions.x, dimensions.y, dimensions.z);
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include <EntityTree.h>
|
||||
#include <Model.h>
|
||||
#include <ModelEntityItem.h>
|
||||
#include <Octree.h>
|
||||
#include <OctreePacketData.h>
|
||||
#include <OctreeRenderer.h>
|
||||
|
@ -23,11 +25,6 @@
|
|||
#include <SharedUtil.h>
|
||||
#include <ViewFrustum.h>
|
||||
|
||||
#include "renderer/Model.h"
|
||||
|
||||
#include <ModelEntityItem.h>
|
||||
#include <BoxEntityItem.h>
|
||||
|
||||
class RenderableModelEntityItem : public ModelEntityItem {
|
||||
public:
|
||||
static EntityItem* factory(const EntityItemID& entityID, const EntityItemProperties& properties);
|
||||
|
|
Loading…
Reference in a new issue