Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/effects/SkPoint3.h

Issue 1304673002: Revert "Update SkLightingShader to support rotation" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tools.gyp ('k') | samplecode/SampleLighting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkPoint3.h
diff --git a/src/core/SkPoint3.h b/include/effects/SkPoint3.h
similarity index 90%
rename from src/core/SkPoint3.h
rename to include/effects/SkPoint3.h
index af24a8df58eac82c5987d7540f43e089df2bf87e..f31f8207ab94aa8d02453cc36f8b09a57e467510 100644
--- a/src/core/SkPoint3.h
+++ b/include/effects/SkPoint3.h
@@ -91,22 +91,6 @@ struct SK_API SkPoint3 {
return v;
}
- /** Add v's coordinates to the point's
- */
- void operator+=(const SkPoint3& v) {
- fX += v.fX;
- fY += v.fY;
- fZ += v.fZ;
- }
-
- /** Subtract v's coordinates from the point's
- */
- void operator-=(const SkPoint3& v) {
- fX -= v.fX;
- fY -= v.fY;
- fZ -= v.fZ;
- }
-
/** Returns the dot product of a and b, treating them as 3D vectors
*/
static SkScalar DotProduct(const SkPoint3& a, const SkPoint3& b) {
« no previous file with comments | « gyp/tools.gyp ('k') | samplecode/SampleLighting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698