summaryrefslogtreecommitdiff
path: root/scene/3d/immediate_geometry.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/immediate_geometry.h')
-rw-r--r--scene/3d/immediate_geometry.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/3d/immediate_geometry.h b/scene/3d/immediate_geometry.h
index fc7f4de634..e385a34da1 100644
--- a/scene/3d/immediate_geometry.h
+++ b/scene/3d/immediate_geometry.h
@@ -5,7 +5,7 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -34,7 +34,7 @@
class ImmediateGeometry : public GeometryInstance {
- OBJ_TYPE(ImmediateGeometry,GeometryInstance);
+ GDCLASS(ImmediateGeometry,GeometryInstance);
RID im;
@@ -42,7 +42,7 @@ class ImmediateGeometry : public GeometryInstance {
// in VisualServer from becoming invalid if the texture is no longer used
List<Ref<Texture> > cached_textures;
bool empty;
- AABB aabb;
+ Rect3 aabb;
protected:
static void _bind_methods();
@@ -66,8 +66,8 @@ public:
- virtual AABB get_aabb() const;
- virtual DVector<Face3> get_faces(uint32_t p_usage_flags) const;
+ virtual Rect3 get_aabb() const;
+ virtual PoolVector<Face3> get_faces(uint32_t p_usage_flags) const;
ImmediateGeometry();
~ImmediateGeometry();