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
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-09-02 19:43:28 +0400
committerThomas Dinges <blender@dingto.org>2013-09-02 19:43:28 +0400
commitdace5b9b8444f8fbc26891d36df09c30a86509dd (patch)
tree3a5f9b508fc1a10ecda8d52de299db283c51511e /intern
parent568a0c81992a8de683617d2509d89e0a73214f31 (diff)
Cycles:
* Document the members of the Ray struct.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 71ab39a0eca..1deb564e51c 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -392,10 +392,10 @@ typedef struct differential {
/* Ray */
typedef struct Ray {
- float3 P;
- float3 D;
- float t;
- float time;
+ float3 P; /* origin */
+ float3 D; /* direction */
+ float t; /* length of the ray */
+ float time; /* time (for motion blur) */
#ifdef __RAY_DIFFERENTIALS__
differential3 dP;