2010-02-02 15:26:40 -08:00
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2011-02-09 13:57:06 -08:00
|
|
|
* Class for exposing the native Renderscript int4 type back to the Android system.
|
2010-02-02 15:26:40 -08:00
|
|
|
*
|
|
|
|
**/
|
2010-03-26 15:33:42 -07:00
|
|
|
public class Int4 {
|
|
|
|
public Int4() {
|
2010-02-02 15:26:40 -08:00
|
|
|
}
|
|
|
|
|
2011-04-22 17:05:25 -07:00
|
|
|
public Int4(int initX, int initY, int initZ, int initW) {
|
|
|
|
x = initX;
|
|
|
|
y = initY;
|
|
|
|
z = initZ;
|
|
|
|
w = initW;
|
|
|
|
}
|
|
|
|
|
2010-03-26 15:33:42 -07:00
|
|
|
public int x;
|
|
|
|
public int y;
|
|
|
|
public int z;
|
|
|
|
public int w;
|
2010-02-02 15:26:40 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|