here a personal experimental mockup of how I imagine wrapping world edges should look like. bouncing one could be similar just with mirrored stuff. please test and share opinion. note: you might wanna disable auto-cam
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := physfs
LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := physfs.c \
physfs_byteorder.c \
physfs_unicode.c \
platform_posix.c \
platform_unix.c \
platform_macosx.c \
platform_windows.c \
archiver_dir.c \
archiver_grp.c \
archiver_hog.c \
archiver_lzma.c \
archiver_mvl.c \
archiver_qpak.c \
archiver_wad.c \
archiver_zip.c \
include $(BUILD_SHARED_LIBRARY)