Commit bc89efc6 authored by chili's avatar chili
Browse files

align me (daddy)

parent 9b867608
...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment