elect
09/24/2018, 12:14 PMVec3 class where I retrieve components as
override var x: Float
        get() = array[ofs]
        set(value) = array.set(ofs, value)
Why from java getX() returns Float instead float?Andreas Sinz
09/24/2018, 12:18 PMarray? Array<Float>?poohbar
09/24/2018, 12:20 PMFloatArrayelect
09/24/2018, 12:21 PMFloatArrayelect
09/24/2018, 12:22 PMVec3 : Vec3t<Float>elect
09/24/2018, 12:22 PMabstract class Vec3t<T : Number> {
    abstract var x: TAndreas Sinz
09/24/2018, 12:23 PMdiesieben07
09/24/2018, 1:02 PMelect
09/24/2018, 3:38 PMval a = Vec3()
    val b = a.x is involving boxing?elect
09/24/2018, 3:39 PML2
    LINENUMBER 146 L2
    ALOAD 1
    INVOKEVIRTUAL glm_/vec3/Vec3.getX ()Ljava/lang/Float;
    INVOKEVIRTUAL java/lang/Float.floatValue ()F
    FSTORE 2
   L3elect
09/24/2018, 4:08 PMdiesieben07
09/24/2018, 4:40 PMelect
09/24/2018, 4:40 PMdiesieben07
09/24/2018, 4:41 PMjava.lang.Float is being used, which is the boxed versionelect
09/24/2018, 4:46 PM.x the bytecode viewer crashelect
09/24/2018, 4:46 PMdiesieben07
09/24/2018, 5:05 PMdiesieben07
09/24/2018, 5:06 PM