24 lines
No EOL
455 B
Text
24 lines
No EOL
455 B
Text
/*
|
|
contributors: Inigo Quiles
|
|
description: Map of SDF functions to be declare
|
|
use: <float4> raymarchMap( in <vec3> pos )
|
|
*/
|
|
|
|
#ifndef RAYMARCH_MAP_FNC
|
|
#define RAYMARCH_MAP_FNC(POS) raymarchMap(POS)
|
|
#endif
|
|
|
|
#ifndef RAYMARCH_MAP_TYPE
|
|
#define RAYMARCH_MAP_TYPE float4
|
|
#endif
|
|
|
|
#ifndef RAYMARCH_MAP_DISTANCE
|
|
#define RAYMARCH_MAP_DISTANCE w
|
|
#endif
|
|
|
|
#ifndef FNC_RAYMARCHMAP
|
|
#define FNC_RAYMARCHMAP
|
|
|
|
RAYMARCH_MAP_TYPE RAYMARCH_MAP_FNC(const float3& pos);
|
|
|
|
#endif |