From da96550d3941cb794a799c73506a1c5b695c70a1 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Tue, 11 Apr 2017 15:29:14 -0400 Subject: Add perspective shadows Bug: skia: Change-Id: I1972f85f593828c982ea08143e1ed7eb70345eaa Reviewed-on: https://skia-review.googlesource.com/10296 Commit-Queue: Jim Van Verth Reviewed-by: Robert Phillips --- include/utils/SkCamera.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/utils') diff --git a/include/utils/SkCamera.h b/include/utils/SkCamera.h index 4b77ec685d..3cb13fc19b 100644 --- a/include/utils/SkCamera.h +++ b/include/utils/SkCamera.h @@ -103,10 +103,10 @@ public: void update(); void patchToMatrix(const SkPatch3D&, SkMatrix* matrix) const; - SkPoint3D fLocation; - SkPoint3D fAxis; - SkPoint3D fZenith; - SkPoint3D fObserver; + SkPoint3D fLocation; // origin of the camera's space + SkPoint3D fAxis; // view direction + SkPoint3D fZenith; // up direction + SkPoint3D fObserver; // eye position (may not be the same as the origin) private: mutable SkMatrix fOrientation; -- cgit v1.2.3