Skip to content

Instantly share code, notes, and snippets.

Created August 7, 2008 03:18
Show Gist options
  • Save anonymous/4316 to your computer and use it in GitHub Desktop.
Save anonymous/4316 to your computer and use it in GitHub Desktop.
private struct BoxInstance
{
public Vector3 position;
public Vector3 dimensions;
public Vector3 rotation;
public Vector4 color;
public bool inUse;
//*****************************************************************
public void Reset( )
{
position = Vector3.Zero;
dimensions = Vector3.Zero;
rotation = Vector3.Zero;
color = Vector4.Zero;
inUse = false;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment