diff options
Diffstat (limited to 'src/utils/SkCamera.cpp')
-rw-r--r-- | src/utils/SkCamera.cpp | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/src/utils/SkCamera.cpp b/src/utils/SkCamera.cpp index 3e7315b..a387257 100644 --- a/src/utils/SkCamera.cpp +++ b/src/utils/SkCamera.cpp @@ -1,19 +1,11 @@ -/* libs/graphics/effects/SkCamera.cpp -** -** Copyright 2006, The Android Open Source Project -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ + +/* + * Copyright 2006 The Android Open Source Project + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #include "SkCamera.h" @@ -370,7 +362,7 @@ void Sk3DView::restore() { fRec = next; } -#ifdef ANDROID +#ifdef SK_BUILD_FOR_ANDROID void Sk3DView::setCameraLocation(SkScalar x, SkScalar y, SkScalar z) { // the camera location is passed in inches, set in pt SkScalar lz = z * SkFloatToScalar(72.0f); |