org.bytedeco.bullet.BulletCollision.btCell32 Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.8: DO NOT EDIT THIS FILE
package org.bytedeco.bullet.BulletCollision;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.bullet.LinearMath.*;
import static org.bytedeco.bullet.global.LinearMath.*;
import static org.bytedeco.bullet.global.BulletCollision.*;
@Properties(inherit = org.bytedeco.bullet.presets.BulletCollision.class)
public class btCell32 extends Pointer {
static { Loader.load(); }
/** Default native constructor. */
public btCell32() { super((Pointer)null); allocate(); }
/** Native array allocator. Access with {@link Pointer#position(long)}. */
public btCell32(long size) { super((Pointer)null); allocateArray(size); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public btCell32(Pointer p) { super(p); }
private native void allocate();
private native void allocateArray(long size);
@Override public btCell32 position(long position) {
return (btCell32)super.position(position);
}
@Override public btCell32 getPointer(long i) {
return new btCell32((Pointer)this).offsetAddress(i);
}
public native @Cast("unsigned int") int m_cells(int i); public native btCell32 m_cells(int i, int setter);
@MemberGetter public native @Cast("unsigned int*") IntPointer m_cells();
}