MCPcopy Create free account
hub / github.com/android/ndk-samples / init_tables

Function init_tables

bitmap-plasma/app/src/main/cpp/plasma.cpp:163–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161/* Angles expressed as fixed point radians */
162
163static void init_tables(void) {
164 init_palette();
165 init_angles();
166}
167
168static void fill_plasma(AndroidBitmapInfo* info, void* pixels, double t) {
169 Fixed yt1 = FIXED_FROM_FLOAT(t / 1230.);

Callers 1

RenderPlasmaFunction · 0.85

Calls 2

init_paletteFunction · 0.85
init_anglesFunction · 0.85

Tested by

no test coverage detected