I'm developing a graphic engine. I got all equations made, I need only to
understand how I can create a function that, once accepted three values (x;
y; z), it returns the two values (X; Y) coming from two distinct mathematical
processes. I don't want to use another global variable, I'm trying to be fast,
in order to use such a function even in this way:
Public Structure Point
x as double
y as double
z as double
End Structure
....
....
Dim PointA as Point, PointB as Point
With ...
.Line(Conv3D(Po intA.x, PointA.y, PointA.z)) - (Conv3D(PointB. x,
PointB.y, PointB.z))
End With
....
....
And so on.
Thanks for reading, sorry for the gibberish English: I'm Italian.
understand how I can create a function that, once accepted three values (x;
y; z), it returns the two values (X; Y) coming from two distinct mathematical
processes. I don't want to use another global variable, I'm trying to be fast,
in order to use such a function even in this way:
Public Structure Point
x as double
y as double
z as double
End Structure
....
....
Dim PointA as Point, PointB as Point
With ...
.Line(Conv3D(Po intA.x, PointA.y, PointA.z)) - (Conv3D(PointB. x,
PointB.y, PointB.z))
End With
....
....
And so on.
Thanks for reading, sorry for the gibberish English: I'm Italian.
Comment