From 06f7b0552daadc6ef6220efa2a47a4355e2db0cf Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Wed, 19 May 2010 21:42:52 +0000 Subject: [PATCH] Add the initWithValue() method git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@320 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/mathematics/Vector.cpp | 2 +- sources/reactphysics3d/mathematics/Vector.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sources/reactphysics3d/mathematics/Vector.cpp b/sources/reactphysics3d/mathematics/Vector.cpp index 5561b31c..897ddb99 100644 --- a/sources/reactphysics3d/mathematics/Vector.cpp +++ b/sources/reactphysics3d/mathematics/Vector.cpp @@ -37,7 +37,7 @@ Vector::Vector(int n) throw(std::invalid_argument) { nbComponent = n; tab = new double[nbComponent]; - + // TODO : Remove this initialization // Fill the array with zero's value for(int i=0; i