The problem is not the JDK version (it only matters when you compile under Eclipse), it's because the sub has a name not compatible with the obfuscation mode. If you rename it Rendrer_FPS, that's OK.
I'm not sure to understand the question.Cheers for that, how did you work this out?
I'm not sure to understand the question.
Because it's a common mistake. I created many libraries so I'm a bit used to this kind of error.Ah, you mentioned that the name of the sub is not compatible with the obfuscation mode, how did you work that this was the case? i.e. rename from rendrerfps to rendrer_fps
Because it's a common mistake. I created many libraries so I'm a bit used to this kind of error.
Dim ass As JpctSimpleVector
Dim sss As Float
Dim coords(3) As Float
sss=0.4
coords=Array As Float(sss,sss,sss)
ass.Initialize5(coords)
lines.Initialize(ass,SkyColor)
Parsing code. 0.01
Compiling code. 0.02
Compiling layouts code. 0.00
Generating R file. 0.02
Compiling generated Java code. Error
B4A line: 201
lines.Initialize(ass,SkyColor)
javac 1.7.0_45
src\b4a\example\main.java:513: error: inconvertible types
_lines.Initialize((com.threed.jpct.SimpleVector[])(_ass.getObject()),(com.threed.jpct.RGBColor)(_skycolor.getObject()));
^
required: SimpleVector[]
found: SimpleVector
1 error
Your error is explained in the log: "required: SimpleVector[], found: SimpleVector". The Initialize function needs an array of SimpleVector.Hi ,
did anyone managed to make a polyline in space ? i do not get it how to
http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Polyline.html
B4X:Dim ass As JpctSimpleVector Dim sss As Float Dim coords(3) As Float sss=0.4 coords=Array As Float(sss,sss,sss) ass.Initialize5(coords) lines.Initialize(ass,SkyColor)
Your error is explained in the log: "required: SimpleVector[], found: SimpleVector". The Initialize function needs an array of SimpleVector.
Dim ass() As JpctSimpleVectorsorry but how should this vector be defined ? that is what i do not get
thanks
Dim ass() As JpctSimpleVector
I don't use this library so I can only explain the reported error; I cannot say what you have to put in this array (probably the points of your line).dim ass() as Jcptsimplevector
ass(0)=1.0
ass(1)=1.1
ass(2)=1.2 ?
lol not a nice name for the vector
ok thanks for your timeI don't use this library so I can only explain the reported error; I cannot say what you have to put in this array (probably the points of your line).