2021-06-10 18:49:14 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct Light {
|
2021-10-28 15:00:39 +00:00
|
|
|
float3 position;
|
|
|
|
float3 colour;
|
2021-06-10 18:49:14 +00:00
|
|
|
};
|
|
|
|
struct Lights {
|
2021-10-28 15:00:39 +00:00
|
|
|
Light light[1];
|
2021-06-10 18:49:14 +00:00
|
|
|
};
|
|
|
|
|