chaff_sample_2d_t(3)chaff

NAME

chaff_sample_2d_t

SYNOPSIS

#include <chaff.h>

Data Fields

int16_t grad_x
int16_t grad_y

Detailed Description

Generic 2D analytical sample: scalar value + continuous spatial gradients

Field Documentation

int32_t chaff_sample_2d_t::elevation

Alias for backward source compatibility

int16_t chaff_sample_2d_t::grad_x

Analytical dN/dx (scaled to [-32767..32767])

int16_t chaff_sample_2d_t::grad_y

Analytical dN/dy

int32_t chaff_sample_2d_t::val

2D scalar noise value

Author

Generated automatically by Doxygen for chaff from the source code.