chore: reformat hilbert.c

This commit is contained in:
Alain Zscheile 2023-01-03 09:29:30 +01:00
parent 8fc79dd372
commit 1d2fd1e019

View file

@ -2,7 +2,13 @@
#include "y16t_internal.h"
// rotate/flip a quadrant appropriately
static void y16t_hilbert_rot(uint32_t n, uint32_t *x, uint32_t *y, uint32_t rx, uint32_t ry) {
static void y16t_hilbert_rot(
uint32_t n,
uint32_t *x,
uint32_t *y,
uint32_t rx,
uint32_t ry
) {
if (ry == 0) {
if (rx == 1) {
*x = n-1 - *x;