Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
Archivist
/
raylib-src
espelho de
https://github.com/raysan5/raylib
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
24
Wiki
Trabalho
Ver a proveniência
Update rlights.h
pull/2534/head
Ray
há 2 anos
ascendente
77b9ca50e0
cometimento
d7a0b46006
1 ficheiros alterados
com
2 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+2
-0
examples/shaders/rlights.h
+ 2
- 0
examples/shaders/rlights.h
Ver ficheiro
@ -49,6 +49,7 @@ typedef struct {
Vector3
position
;
Vector3
target
;
Color
color
;
float
attenuation
;
/
/
Shader
locations
int
enabledLoc
;
@ -56,6 +57,7 @@ typedef struct {
int
positionLoc
;
int
targetLoc
;
int
colorLoc
;
int
attenuationLoc
;
}
Light
;
/
/
Light
type
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar