code wiki / (root) / nx_arousal_skin_lib.nx

nx_arousal_skin_lib.nx

buildroot/runtime/nx_arousal_skin_lib.nx

8452 B190 linesdepth 3pulls 3 transitivereach 4 importersview sourcekind librarytopic arousal
docsdependenciesstructsconstsfunctions

about

nx_arousal_skin_lib.nx -- skin OPTICS core (no main). Shared by nx_arousal_skin (CLI) and nx_arousal_render (LOOK path) so the two cannot drift into duplicate twins. Separate from nx_arousal_lib on purpose: that one is PHYSIOLOGY, this one is OPTICS. license_tier: ORIGINAL

dependencies 1 imports · 4 importers

nx_arousal_lib.nx nx_arousal_skin_lib.nx nx_arousal_body.nx nx_arousal_mesh.nx nx_arousal_render.nx nx_arousal_skin.nx

imports: nx_arousal_lib.nx

imported by: nx_arousal_body.nxnx_arousal_mesh.nxnx_arousal_render.nxnx_arousal_skin.nx

structs

none

consts

7const SK_NSITES: i64 = 6
11const SK_EXTN: i64 = 9
13const SK_OUTN: i64 = 6

functions

16func sk_thresh(site: i64) -> i64
24func sk_name(site: i64) -> *u8
called by 2: mainmain
33func sk_site_gain(site: i64) -> i64
called by 2: mainsk_eval
45func sk_anchor_x(i: i64) -> i64
called by 1: sk_thresh_field
55func sk_anchor_y(i: i64) -> i64
called by 1: sk_thresh_field
67func sk_anchor_site(i: i64) -> i64
called by 1: sk_thresh_field
82func sk_gain_field(wx: i64, wy: i64) -> i64
called by 1: sk_eval_at
108func sk_thresh_field_rig(wx: i64, wy: i64, ax: *i64, ay: *i64, asite: *i64, n: i64, scale: i64) -> i64
called by 1: sk_thresh_field calls 1: sk_thresh
129func sk_thresh_field(wx: i64, wy: i64) -> i64
142func sk_clamp(v: i64) -> i64
150func sk_refl(melanin: i64, hb: i64, mel_ext: i64, hb_ext: i64) -> i64
called by 2: sk_eval_atsk_eval calls 2: sk_clampa_exp_neg
165func sk_eval_at(wx: i64, wy: i64, site: i64, perf: i64, mel: i64, ext: *i64, out: *i64) -> i64
178func sk_eval(site: i64, perf: i64, mel: i64, prop: i64, ext: *i64, out: *i64) -> i64