Definition at line 14 of file perlin_q16.cpp.hpp.
14 {
15 for (int i = 0; i <= 256; i++) {
18 fl::i32 t3 =
static_cast<fl::i32
>((
static_cast<fl::i64>(t2) *
t) >>
HP_BITS);
21 inner =
static_cast<fl::i32
>((
static_cast<fl::i64>(
t) * inner) >>
HP_BITS);
23 table[i] =
static_cast<fl::i32
>((
static_cast<fl::i64>(t3) * inner) >>
HP_BITS);
24 }
25}
static constexpr int HP_BITS
static constexpr fl::i32 HP_ONE
References HP_BITS, HP_ONE, and fl::t.