| 124 | /////////////////////////////////////////// |
| 125 | |
| 126 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern SphericalHarmonics sh_create ([In] SHLight[] lights, int light_count); |
| 127 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_brightness (ref SphericalHarmonics harmonics, float scale); |
| 128 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sh_add (ref SphericalHarmonics harmonics, Vec3 light_dir, Vec3 light_color); |
| 129 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color sh_lookup (in SphericalHarmonics harmonics, Vec3 normal); |