diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-08 08:19:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-10 06:54:05 +0300 |
commit | 623141f339d5066ed6b96ad70ab45fb294e3e612 (patch) | |
tree | 4af00e5d967a66829db1bec4bbf369c0529b9bd7 /intern/cycles/util/util_projection.h | |
parent | 516e82a90012da3911518103829158215d94215f (diff) |
Code refactor: add DecomposedTransform.
This is in preparation of making Transform affine only, and also gives us
a little extra type safety so we don't accidentally treat it as a regular
4x4 matrix.
Diffstat (limited to 'intern/cycles/util/util_projection.h')
-rw-r--r-- | intern/cycles/util/util_projection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_projection.h b/intern/cycles/util/util_projection.h index 0b8ff032120..8073568046d 100644 --- a/intern/cycles/util/util_projection.h +++ b/intern/cycles/util/util_projection.h @@ -21,7 +21,7 @@ CCL_NAMESPACE_BEGIN -/* Data Types */ +/* 4x4 projection matrix, perspective or orthographic. */ typedef struct ProjectionTransform { float4 x, y, z, w; /* rows */ |