blue only
This commit is contained in:
1 parent
1300669643
commit
f69b2b60eb
4 files changed
+5
-305
No files matched your search
@@ -5,24 +5,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Render configuration, sourced from renderConst.swift.
|
||||
typedef struct raybri_config {
|
||||
float fov_y; // vertical field of view (degrees)
|
||||
float near_plane; // camera near plane
|
||||
float far_plane; // camera far plane
|
||||
int shadow_size; // shadow map resolution (px)
|
||||
float ground_size; // ground plane extent
|
||||
} raybri_config;
|
||||
|
||||
// Initialise the OpenGL-backed raylib scene (no raylib window is created).
|
||||
// The four shader sources come from renderConstShader.swift.
|
||||
void raybri_init(
|
||||
const char *main_vs,
|
||||
const char *main_fs,
|
||||
const char *shadow_vs,
|
||||
const char *shadow_fs,
|
||||
raybri_config config
|
||||
);
|
||||
void raybri_init(void);
|
||||
|
||||
// Resize the viewport.
|
||||
void raybri_resize(int width, int height);
|
||||
|
||||
Reference in new issue
Block a user