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-06-09 21:22:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-09 21:22:52 +0400
commit0fbb6bff27139d66951fe223ff322c609d368a18 (patch)
treee75d0d4399e4b82746f4edbc0c2e20e8c25f7015 /intern/cycles/blender/blender_util.h
parent2f60d9b0b9af1df967e29fd1822d82ffd2450d0f (diff)
style cleanup: block comments
Diffstat (limited to 'intern/cycles/blender/blender_util.h')
-rw-r--r--intern/cycles/blender/blender_util.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/intern/cycles/blender/blender_util.h b/intern/cycles/blender/blender_util.h
index b9c60738b36..9b9e0d3a425 100644
--- a/intern/cycles/blender/blender_util.h
+++ b/intern/cycles/blender/blender_util.h
@@ -27,7 +27,7 @@
#include "util_vector.h"
/* Hacks to hook into Blender API
- todo: clean this up ... */
+ * todo: clean this up ... */
extern "C" {
@@ -121,7 +121,7 @@ static inline Transform get_transform(BL::Array<float, 16> array)
Transform tfm;
/* we assume both types to be just 16 floats, and transpose because blender
- use column major matrix order while we use row major */
+ * use column major matrix order while we use row major */
memcpy(&tfm, &array, sizeof(float)*16);
tfm = transform_transpose(tfm);
@@ -164,12 +164,14 @@ static inline uint get_layer(BL::Array<int, 20> array)
return layer;
}
-/*static inline float3 get_float3(PointerRNA& ptr, const char *name)
+#if 0
+static inline float3 get_float3(PointerRNA& ptr, const char *name)
{
float3 f;
RNA_float_get_array(&ptr, name, &f.x);
return f;
-}*/
+}
+#endif
static inline bool get_boolean(PointerRNA& ptr, const char *name)
{