Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
44 lines
1021 B
Java
44 lines
1021 B
Java
/*
|
|
* Copyright (C) 2009 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.
|
|
*/
|
|
|
|
package android.renderscript;
|
|
|
|
import java.lang.Math;
|
|
import android.util.Log;
|
|
|
|
|
|
/**
|
|
* Class for exposing the rs float3 type back to java applications.
|
|
*
|
|
**/
|
|
public class Float3 {
|
|
public Float3() {
|
|
}
|
|
public Float3(float initX, float initY, float initZ) {
|
|
x = initX;
|
|
y = initY;
|
|
z = initZ;
|
|
}
|
|
|
|
public float x;
|
|
public float y;
|
|
public float z;
|
|
}
|
|
|
|
|
|
|
|
|