- Home /
Best Answer
Answer by Tim-Michels · Jun 28, 2012 at 09:02 AM
Well you could write your own struct. Here's an example of a cube struct:
Code
struct Cube
{
public float x;
public float y;
public float z;
public float w;
public float h;
public float d;
public Cube(float pX, float pY, float pZ, float pWidth, float pHeight, float pDepth)
{
x = pX;
y = pY;
z = pZ;
w = pWidth;
h = pHeight;
d = pDepth;
}
}
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to handle Perlin Noise ? 0 Answers
How do i create an ink trail 1 Answer
Randomizer code not working. 1 Answer