| Index: samplecode/SampleLighting.cpp
|
| diff --git a/samplecode/SampleLighting.cpp b/samplecode/SampleLighting.cpp
|
| index 40e6fbb073bb1075f2d9402a9cb97273a8c56c92..a002a9320f9843762dae1a492ad84a391ab10d31 100755
|
| --- a/samplecode/SampleLighting.cpp
|
| +++ b/samplecode/SampleLighting.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "SkCanvas.h"
|
| #include "SkErrorInternals.h"
|
| #include "SkGr.h"
|
| +#include "SkPoint3.h"
|
| #include "SkReadBuffer.h"
|
| #include "SkShader.h"
|
| #include "SkWriteBuffer.h"
|
| @@ -21,18 +22,6 @@
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| -struct SkVector3 {
|
| - SkScalar fX, fY, fZ;
|
| -
|
| - bool operator==(const SkVector3& other) const {
|
| - return fX == other.fX && fY == other.fY && fZ == other.fZ;
|
| - }
|
| -
|
| - bool operator!=(const SkVector3& other) const {
|
| - return !(*this == other);
|
| - }
|
| -};
|
| -
|
| class LightingShader : public SkShader {
|
| public:
|
| struct Light {
|
|
|