File ApplySlopeError.h¶
File List > Intern > rayx-core > src > Shader > ApplySlopeError.h
Go to the documentation of this file
#pragma once
#include "Core.h"
#include "InvocationState.h"
namespace rayx {
struct Rand;
RAYX_FN_ACC glm::dvec3 RAYX_API normalCartesian(glm::dvec3 normal, double x_rad, double z_rad);
RAYX_FN_ACC glm::dvec3 RAYX_API normalCylindrical(glm::dvec3 normal, double x_rad, double z_rad);
RAYX_FN_ACC glm::dvec3 applySlopeError(glm::dvec3 normal, SlopeError error, int O_type, Rand& __restrict rand);
} // namespace rayx