Skip to content

Commit a1b57e1

Browse files
committed
utils/xrLC_Light/R_light.h: replace macros with constexpr u16 global variables
1 parent 2a9d425 commit a1b57e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/xrLC_Light/R_light.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22

3-
#define LT_DIRECT 0
4-
#define LT_POINT 1
5-
#define LT_SECONDARY 2
3+
constexpr u16 LT_DIRECT = 0;
4+
constexpr u16 LT_POINT = 1;
5+
constexpr u16 LT_SECONDARY = 2;
66

77
struct R_Light
88
{

0 commit comments

Comments
 (0)