mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 14:29:42 -05:00
Linux fixes
This commit is contained in:
@@ -37,8 +37,8 @@ void raySetup(float3 first, float3 last, float3 dimension, float3* rayDirection,
|
||||
* 1.0 and true is returned, otherwise false is returned.
|
||||
***/
|
||||
bool earlyRayTermination(float4* color, float maxOpacity) {
|
||||
if ((*color).a >= maxOpacity) {
|
||||
(*color).a = 1.0f;
|
||||
if ((*color).w >= maxOpacity) {
|
||||
(*color).w = 1.0f;
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
+1
-1
Submodule openspace-data updated: 741819bbd5...10d12f12be
Reference in New Issue
Block a user