25 const float reshape_grid_size_1_inv = 1.0f / (
float(reshape_grid_size) - 1.0f);
31 for (
int grid_index = 0; grid_index < num_grids; ++grid_index) {
32 for (
int y = 0;
y < reshape_grid_size; ++
y) {
33 const float v =
float(
y) * reshape_grid_size_1_inv;
34 for (
int x = 0;
x < reshape_grid_size; ++
x) {
35 const float u =
float(
x) * reshape_grid_size_1_inv;
44 reshape_context, &grid_coord);
47 memcpy(grid_element.
displacement, positions[vert],
sizeof(
float[3]));
72 *grid_element.
mask = masks[vert];
struct MultiresReshapeContext::@354360336041134252127126015345003241176221362327 reshape