Teem 1.10.0
src/echo/sqd.c File Reference
#include "echo.h"
#include "privateEcho.h"
Include dependency graph for sqd.c:

Defines

#define VAL(TT)
#define VALGRAD(VV, DV, TT)
#define LVALGRAD(VV, DV, TT)
#define RR   0.61803399
#define CC   (1.0-RR)
#define SHIFT3(a, b, c, d)   (a)=(b); (b)=(c); (c)=(d)
#define SHIFT2(a, b, c)   (a)=(b); (b)=(c)

Functions

echoPos_t _echo_SuperquadX_v (echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadY_v (echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadZ_v (echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadX_vg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadY_vg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadZ_vg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadX_lvg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadY_lvg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
echoPos_t _echo_SuperquadZ_lvg (echoPos_t grad[3], echoPos_t x, echoPos_t y, echoPos_t z, echoPos_t A, echoPos_t B)
int _echoRayIntx_Superquad (RAYINTX_ARGS(Superquad))

Define Documentation

#define CC   (1.0-RR)
#define LVALGRAD (   VV,
  DV,
  TT 
)
Value:
ELL_3V_SCALE_ADD2(pos, 1, from, (TT), ray->dir);                 \
  (VV) = lvg(grad, pos[0], pos[1], pos[2], obj->A, obj->B); \
  (DV) = ELL_3V_DOT(grad, ray->dir)
#define RR   0.61803399
#define SHIFT2 (   a,
  b,
 
)    (a)=(b); (b)=(c)
#define SHIFT3 (   a,
  b,
  c,
 
)    (a)=(b); (b)=(c); (c)=(d)
#define VAL (   TT)
Value:
(ELL_3V_SCALE_ADD2(pos, 1, from, (TT), ray->dir),  \
   v(pos[0], pos[1], pos[2], obj->A, obj->B))
#define VALGRAD (   VV,
  DV,
  TT 
)
Value:
ELL_3V_SCALE_ADD2(pos, 1, from, (TT), ray->dir);                \
  (VV) = vg(grad, pos[0], pos[1], pos[2], obj->A, obj->B); \
  (DV) = ELL_3V_DOT(grad, ray->dir)

Function Documentation

echoPos_t _echo_SuperquadX_lvg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadX_v ( echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadX_vg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadY_lvg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadY_v ( echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadY_vg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadZ_lvg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadZ_v ( echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
echoPos_t _echo_SuperquadZ_vg ( echoPos_t  grad[3],
echoPos_t  x,
echoPos_t  y,
echoPos_t  z,
echoPos_t  A,
echoPos_t  B 
)
int _echoRayIntx_Superquad ( RAYINTX_ARGS(Superquad)  )