summaryrefslogtreecommitdiff
path: root/main/tests/test_physics_2d.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-02-17 18:06:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-18 10:10:36 +0100
commit3205a92ad872f918c8322cdcd1434c231a1fd251 (patch)
treedb44242ca27432eb8ea849679752d0835d2ae41a /main/tests/test_physics_2d.cpp
parentfb8c93c10b4b73d5f18f1ed287497728800e22b5 (diff)
PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
Diffstat (limited to 'main/tests/test_physics_2d.cpp')
-rw-r--r--main/tests/test_physics_2d.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/tests/test_physics_2d.cpp b/main/tests/test_physics_2d.cpp
index 9c10fcbd56..160c25f43a 100644
--- a/main/tests/test_physics_2d.cpp
+++ b/main/tests/test_physics_2d.cpp
@@ -72,7 +72,7 @@ class TestPhysics2DMainLoop : public MainLoop {
{
- PoolVector<uint8_t> pixels;
+ Vector<uint8_t> pixels;
pixels.resize(32 * 2 * 2);
for (int i = 0; i < 2; i++) {
@@ -97,7 +97,7 @@ class TestPhysics2DMainLoop : public MainLoop {
{
- PoolVector<uint8_t> pixels;
+ Vector<uint8_t> pixels;
pixels.resize(32 * 32 * 2);
for (int i = 0; i < 32; i++) {
@@ -124,7 +124,7 @@ class TestPhysics2DMainLoop : public MainLoop {
{
- PoolVector<uint8_t> pixels;
+ Vector<uint8_t> pixels;
pixels.resize(32 * 32 * 2);
for (int i = 0; i < 32; i++) {
@@ -151,7 +151,7 @@ class TestPhysics2DMainLoop : public MainLoop {
{
- PoolVector<uint8_t> pixels;
+ Vector<uint8_t> pixels;
pixels.resize(32 * 64 * 2);
for (int i = 0; i < 64; i++) {
@@ -185,7 +185,7 @@ class TestPhysics2DMainLoop : public MainLoop {
RID convex_polygon_shape = ps->convex_polygon_shape_create();
- PoolVector<Vector2> arr;
+ Vector<Vector2> arr;
Point2 sb(32, 32);
arr.push_back(Point2(20, 3) - sb);
arr.push_back(Point2(58, 23) - sb);