mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Fix for OS X
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
|
||||
#ifdef CL_VERSION_1_2
|
||||
#define RC_TF_TYPE image1d_t
|
||||
#define RC_TF_MAP(intensity) intensity
|
||||
#else
|
||||
#define RC_TF_TYPE image1d_t
|
||||
#define RC_TF_MAP(intensity) (float2)(intensity,0.0f)
|
||||
#endif
|
||||
|
||||
|
||||
#define EARLY_RAY_TERMINATION_OPACITY 0.95
|
||||
|
||||
void raySetup(float3 first, float3 last, float3 dimension, float3* rayDirection, float* tIncr, float* tEnd);
|
||||
|
||||
Submodule openspace-data updated: 10d12f12be...8d90347525
Reference in New Issue
Block a user