fix: .gitignore + add 44 language JSON files
This commit is contained in:
1 parent
e8fd68e27b
commit
8de545dd2c
227 files changed
+22603
No files matched your search
@@ -0,0 +1,17 @@
|
||||
// lighting.h
|
||||
#pragma once
|
||||
|
||||
typedef enum { LIGHT_DIR=0, LIGHT_POINT } LightType;
|
||||
|
||||
typedef struct {
|
||||
LightType type;
|
||||
float color[3];
|
||||
float intensity;
|
||||
float direction[3];
|
||||
float position[3];
|
||||
float range;
|
||||
} Light;
|
||||
|
||||
Light* light_create_dir(float r, float g, float b, float intensity, float dx, float dy, float dz);
|
||||
Light* light_create_point(float r, float g, float b, float intensity, float x, float y, float z, float range);
|
||||
void light_destroy(Light* light);
|
||||
Reference in new issue
Block a user