diff --git a/src/layer.c b/src/layer.c index 99084f802..963b179c3 100644 --- a/src/layer.c +++ b/src/layer.c @@ -100,13 +100,3 @@ void layer_get_bounding_box(const layer_t *layer, float box[4][4]) if (aabb[0][0] > aabb[1][0]) memset(aabb, 0, sizeof(aabb)); bbox_from_aabb(box, aabb); } - -void layer_wrap(layer_t *layer, int axis, int sign) -{ - float bbox[4][4]; - int aabb[2][3]; - - layer_get_bounding_box(layer, bbox); - bbox_to_aabb(bbox, aabb); - volume_wrap(layer->volume, axis, sign, aabb); -} \ No newline at end of file diff --git a/src/layer.h b/src/layer.h index 8daf6bff7..bc740d81c 100644 --- a/src/layer.h +++ b/src/layer.h @@ -60,10 +60,4 @@ layer_t *layer_copy(layer_t *other); */ void layer_get_bounding_box(const layer_t *layer, float box[4][4]); -/* - * Function: layer_wrap - * Move all voxels in the given-signed direction on the given axis, and wrap around. - */ -void layer_wrap(layer_t *layer, int axis, int sign); - #endif // LAYER_H