summaryrefslogtreecommitdiff
path: root/scene/3d/test_cube.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/test_cube.h')
-rw-r--r--scene/3d/test_cube.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/test_cube.h b/scene/3d/test_cube.h
index 332276ab89..4860bacd8d 100644
--- a/scene/3d/test_cube.h
+++ b/scene/3d/test_cube.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 */
@@ -39,15 +39,15 @@
*/
class TestCube : public GeometryInstance {
- OBJ_TYPE( TestCube, GeometryInstance );
+ GDCLASS( TestCube, GeometryInstance );
RID instance;
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;
TestCube();
~TestCube();