diff options
Diffstat (limited to 'source/blender/gpu/GPU_matrix.h')
-rw-r--r-- | source/blender/gpu/GPU_matrix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_matrix.h b/source/blender/gpu/GPU_matrix.h index 1dcb83be11f..2899fba46e4 100644 --- a/source/blender/gpu/GPU_matrix.h +++ b/source/blender/gpu/GPU_matrix.h @@ -224,4 +224,9 @@ int GPU_matrix_stack_level_get_projection(void); # define GPU_matrix_normal_inverse_get(x) GPU_matrix_normal_inverse_get(_GPU_MAT3_CAST(x)) #endif /* SUPPRESS_GENERIC_MATRIX_API */ +/* Not part of the GPU_matrix API, + * however we need to check these limits in code that calls into these API's. */ +#define GPU_MATRIX_ORTHO_CLIP_NEAR_DEFAULT (-100) +#define GPU_MATRIX_ORTHO_CLIP_FAR_DEFAULT (100) + #endif /* __GPU_MATRIX_H__ */ |