Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/eevee_private.h
| Show All 26 Lines | |||||
| #include "BLI_bitmap.h" | #include "BLI_bitmap.h" | ||||
| #include "DNA_lightprobe_types.h" | #include "DNA_lightprobe_types.h" | ||||
| #include "GPU_viewport.h" | #include "GPU_viewport.h" | ||||
| #include "BKE_camera.h" | #include "BKE_camera.h" | ||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| struct EEVEE_ShadowCasterBuffer; | struct EEVEE_ShadowCasterBuffer; | ||||
| struct GPUFrameBuffer; | struct GPUFrameBuffer; | ||||
| struct Object; | struct Object; | ||||
| struct RenderLayer; | struct RenderLayer; | ||||
| extern struct DrawEngineType draw_engine_eevee_type; | extern struct DrawEngineType draw_engine_eevee_type; | ||||
| /* Minimum UBO is 16384 bytes */ | /* Minimum UBO is 16384 bytes */ | ||||
| ▲ Show 20 Lines • Show All 1,315 Lines • ▼ Show 20 Lines | static const float cubefacemat[6][4][4] = { | ||||
| {0.0f, 0.0f, -1.0f, 0.0f}, | {0.0f, 0.0f, -1.0f, 0.0f}, | ||||
| {0.0f, 0.0f, 0.0f, 1.0f}}, | {0.0f, 0.0f, 0.0f, 1.0f}}, | ||||
| /* Neg Z */ | /* Neg Z */ | ||||
| {{-1.0f, 0.0f, 0.0f, 0.0f}, | {{-1.0f, 0.0f, 0.0f, 0.0f}, | ||||
| {0.0f, -1.0f, 0.0f, 0.0f}, | {0.0f, -1.0f, 0.0f, 0.0f}, | ||||
| {0.0f, 0.0f, 1.0f, 0.0f}, | {0.0f, 0.0f, 1.0f, 0.0f}, | ||||
| {0.0f, 0.0f, 0.0f, 1.0f}}, | {0.0f, 0.0f, 0.0f, 1.0f}}, | ||||
| }; | }; | ||||
| #ifdef __cplusplus | |||||
| } | |||||
| #endif | |||||