Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save qrush/4318 to your computer and use it in GitHub Desktop.
Save qrush/4318 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