Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-30 18:24:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-30 18:24:11 +0400
commit112162e09e486d787ace5ea4373fde8106f898c0 (patch)
tree7e1dabf372b32fc00cf68c54c490967031b24d9b /source/blender/python/mathutils
parent99c29814f0c3960d3f0878ae02e9a100c079edc8 (diff)
code cleanup: header cleanup
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r--source/blender/python/mathutils/mathutils.h11
-rw-r--r--source/blender/python/mathutils/mathutils_Color.c1
-rw-r--r--source/blender/python/mathutils/mathutils_Color.h1
-rw-r--r--source/blender/python/mathutils/mathutils_Euler.c1
-rw-r--r--source/blender/python/mathutils/mathutils_Euler.h10
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c1
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.h11
-rw-r--r--source/blender/python/mathutils/mathutils_Vector.h1
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.c1
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.h11
10 files changed, 16 insertions, 33 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h
index e8d128b431e..d4673d14823 100644
--- a/source/blender/python/mathutils/mathutils.h
+++ b/source/blender/python/mathutils/mathutils.h
@@ -1,5 +1,4 @@
-/*
- *
+/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -26,15 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
+#ifndef __MATHUTILS_H__
+#define __MATHUTILS_H__
+
/** \file blender/python/mathutils/mathutils.h
* \ingroup pymathutils
*/
-//Include this file for access to vector, quat, matrix, euler, etc...
-
-#ifndef __MATHUTILS_H__
-#define __MATHUTILS_H__
-
/* Can cast different mathutils types to this, use for generic funcs */
struct DynStr;
diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c
index fc8b2886f37..0f421f1ddea 100644
--- a/source/blender/python/mathutils/mathutils_Color.c
+++ b/source/blender/python/mathutils/mathutils_Color.c
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_Color.h b/source/blender/python/mathutils/mathutils_Color.h
index 2bf6ba2ef1f..eff09c25a99 100644
--- a/source/blender/python/mathutils/mathutils_Color.h
+++ b/source/blender/python/mathutils/mathutils_Color.h
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c
index a663bd71130..583831b1655 100644
--- a/source/blender/python/mathutils/mathutils_Euler.c
+++ b/source/blender/python/mathutils/mathutils_Euler.c
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_Euler.h b/source/blender/python/mathutils/mathutils_Euler.h
index 56199f4a546..bcbc6c60ca7 100644
--- a/source/blender/python/mathutils/mathutils_Euler.h
+++ b/source/blender/python/mathutils/mathutils_Euler.h
@@ -1,5 +1,4 @@
-/*
- *
+/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -27,14 +26,13 @@
*
*/
+#ifndef __MATHUTILS_EULER_H__
+#define __MATHUTILS_EULER_H__
+
/** \file blender/python/mathutils/mathutils_Euler.h
* \ingroup pymathutils
*/
-
-#ifndef __MATHUTILS_EULER_H__
-#define __MATHUTILS_EULER_H__
-
extern PyTypeObject euler_Type;
#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type)
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index a48e7ed854d..5c4c6414f39 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.h b/source/blender/python/mathutils/mathutils_Quaternion.h
index 09faff192de..4ffe8488843 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.h
+++ b/source/blender/python/mathutils/mathutils_Quaternion.h
@@ -1,5 +1,4 @@
-/*
- *
+/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -24,17 +23,15 @@
* Contributor(s): Joseph Gilbert
*
* ***** END GPL LICENSE BLOCK *****
- *
*/
+#ifndef __MATHUTILS_QUATERNION_H__
+#define __MATHUTILS_QUATERNION_H__
+
/** \file blender/python/mathutils/mathutils_Quaternion.h
* \ingroup pymathutils
*/
-
-#ifndef __MATHUTILS_QUATERNION_H__
-#define __MATHUTILS_QUATERNION_H__
-
extern PyTypeObject quaternion_Type;
#define QuaternionObject_Check(_v) PyObject_TypeCheck((_v), &quaternion_Type)
diff --git a/source/blender/python/mathutils/mathutils_Vector.h b/source/blender/python/mathutils/mathutils_Vector.h
index 04fd0adcda5..974abe0f869 100644
--- a/source/blender/python/mathutils/mathutils_Vector.h
+++ b/source/blender/python/mathutils/mathutils_Vector.h
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index 543574e5136..203da5d1bd2 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -1,5 +1,4 @@
/*
- *
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
diff --git a/source/blender/python/mathutils/mathutils_geometry.h b/source/blender/python/mathutils/mathutils_geometry.h
index ac89698c12e..3967c934ce9 100644
--- a/source/blender/python/mathutils/mathutils_geometry.h
+++ b/source/blender/python/mathutils/mathutils_geometry.h
@@ -1,5 +1,4 @@
-/*
- *
+/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -26,15 +25,13 @@
* ***** END GPL LICENSE BLOCK *****
*/
+#ifndef __MATHUTILS_GEOMETRY_H__
+#define __MATHUTILS_GEOMETRY_H__
+
/** \file blender/python/mathutils/mathutils_geometry.h
* \ingroup pymathutils
*/
-/*Include this file for access to vector, quat, matrix, euler, etc...*/
-
-#ifndef __MATHUTILS_GEOMETRY_H__
-#define __MATHUTILS_GEOMETRY_H__
-
#include "mathutils.h"
PyMODINIT_FUNC PyInit_mathutils_geometry(void);