public final class Int extends java.lang.Object implements IData<Int>
| Modifier and Type | Method and Description |
|---|---|
Int |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
get() |
int |
hashCode() |
Int |
interpolate(Int current,
Int next,
float t)
Interpolate
current and next and store result in this. |
Int |
set(int percent) |
Int |
set(Int from) |
java.lang.String |
toString() |
public final Int clone()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final Int interpolate(Int current, Int next, float t)
IInterpolablecurrent and next and store result in this.interpolate in interface IInterpolable<Int>interpolate in interface IData<Int>current - current valuenext - next valuet - interpolation percent in range [0;1]public final Int set(Int from)
set in interface IValueCopy<Int>public final Int set(int percent)
public final int get()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com