Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
bc89efc6
Commit
bc89efc6
authored
Apr 13, 2019
by
chili
Browse files
align me (daddy)
parent
9b867608
Changes
1
Hide whitespace changes
Inline
Side-by-side
hw3d/PointLight.h
View file @
bc89efc6
...
@@ -14,10 +14,10 @@ public:
...
@@ -14,10 +14,10 @@ public:
private:
private:
struct
PointLightCBuf
struct
PointLightCBuf
{
{
DirectX
::
XMFLOAT3
pos
;
alignas
(
16
)
DirectX
::
XMFLOAT3
pos
;
DirectX
::
XMFLOAT3
materialColor
;
alignas
(
16
)
DirectX
::
XMFLOAT3
materialColor
;
DirectX
::
XMFLOAT3
ambient
;
alignas
(
16
)
DirectX
::
XMFLOAT3
ambient
;
DirectX
::
XMFLOAT3
diffuseColor
;
alignas
(
16
)
DirectX
::
XMFLOAT3
diffuseColor
;
float
diffuseIntensity
;
float
diffuseIntensity
;
float
attConst
;
float
attConst
;
float
attLin
;
float
attLin
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment