Skip to content

File LineDensity.h

File List > Intern > rayx-core > src > Shader > LineDensity.h

Go to the documentation of this file

#pragma once

#include "Core.h"
#include "Element/Behaviour.h"
#include "Ray.h"

namespace rayx {

RAYX_FN_ACC double RAYX_API vlsGrating(double lineDensity, glm::dvec3 normal, double z, const double vls[6]);

RAYX_FN_ACC void RAYX_API RZPLineDensity(const glm::dvec3& __restrict position, const glm::dvec3& __restrict normal,
                                         const Behaviour::RZP& __restrict b, double& __restrict DX, double& __restrict DZ);

}  // namespace rayx