I want to make some dynamic TGLPoints object, but these object can't display, Please help!
SetLength(mypoint,10);
xx:=Random;yy:=Random;zz:=Random;
for i:=0 to 9 do begin
mypoint_:=TGLPoints.Create(GLScene1);
mypoint.Position.X:=xx;
mypoint.Position.y:=yy;
mypoint.Position.z:=zz;
mypoint.size:=5;
mypoint.Visible:=True;_
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to make some dynamic TGLPoints object, but these object can't display, Please help!
SetLength(mypoint,10);
xx:=Random;yy:=Random;zz:=Random;
for i:=0 to 9 do begin
mypoint_:=TGLPoints.Create(GLScene1);
mypoint.Position.X:=xx;
mypoint.Position.y:=yy;
mypoint.Position.z:=zz;
mypoint.size:=5;
mypoint.Visible:=True;_
oh ,I see,