From c0b4eaaccc8b001a52355f615b3e47e5e7de3bc1 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Sat, 4 Jul 2009 07:21:33 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@163 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- .../reactphysics3d/mathematics/Segment3D.h | 2 ++ .../reactphysics3d/mathematics/mathematics.h | 36 ++++++++++--------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/sources/reactphysics3d/mathematics/Segment3D.h b/sources/reactphysics3d/mathematics/Segment3D.h index 79935d52..70ef9144 100644 --- a/sources/reactphysics3d/mathematics/Segment3D.h +++ b/sources/reactphysics3d/mathematics/Segment3D.h @@ -49,6 +49,8 @@ class Segment3D { void setPointB(const Vector3D& pointB); // Set the point B }; +// TODO : Test the Segment3D class + inline Vector3D Segment3D::getPointA() const { return pointA; } diff --git a/sources/reactphysics3d/mathematics/mathematics.h b/sources/reactphysics3d/mathematics/mathematics.h index 8357bad1..0dab9184 100644 --- a/sources/reactphysics3d/mathematics/mathematics.h +++ b/sources/reactphysics3d/mathematics/mathematics.h @@ -1,21 +1,21 @@ /**************************************************************************** - * Copyright (C) 2009 Daniel Chappuis * - **************************************************************************** - * This file is part of ReactPhysics3D. * - * * - * ReactPhysics3D is free software: you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License as published * - * by the Free Software Foundation, either version 3 of the License, or * - * (at your option) any later version. * - * * - * ReactPhysics3D is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public License * - * along with ReactPhysics3D. If not, see . * - ***************************************************************************/ +* Copyright (C) 2009 Daniel Chappuis * +**************************************************************************** +* This file is part of ReactPhysics3D. * +* * +* ReactPhysics3D is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Lesser General Public License as published * +* by the Free Software Foundation, either version 3 of the License, or * +* (at your option) any later version. * +* * +* ReactPhysics3D is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Lesser General Public License for more details. * +* * +* You should have received a copy of the GNU Lesser General Public License * +* along with ReactPhysics3D. If not, see . * +***************************************************************************/ // TODO : Mathematics library : Check everywhere that in member methods we use attributes access instead of getter and setter. @@ -25,7 +25,9 @@ // Libraries #include "Matrix.h" #include "Matrix3x3.h" +#include "Polygon3D.h" #include "Quaternion.h" +#include "Segment3D.h" #include "Vector.h" #include "Vector3D.h" #include "constants.h"