Definition of the core ray-tracing functions. More...
#include "simpmesh.h"#include "mcx_utils.h"

Go to the source code of this file.
Defines | |
| #define | MAX_TRIAL 3 |
| #define | FIX_PHOTON 1e-3f |
Functions | |
| void | interppos (float3 *w, float3 *p1, float3 *p2, float3 *p3, float3 *pout) |
| void | getinterp (float w1, float w2, float w3, float3 *p1, float3 *p2, float3 *p3, float3 *pout) |
| void | fixphoton (float3 *p, float3 *nodes, int *ee) |
| float | onephoton (int id, raytracer *tracer, tetmesh *mesh, Config *cfg, float rtstep, RandType *ran, RandType *ran0) |
| float | reflectray (Config *cfg, float3 *c0, raytracer *tracer, int *oldeid, int *eid, int faceid, RandType *ran) |
| float | mmc_rsqrtf (float a) |
Definition of the core ray-tracing functions.
1.6.3