﻿/******************************************************************************/
/*
  Project   - MudBun
  Publisher - Long Bunny Labs
              http://LongBunnyLabs.com
  Author    - Ming-Lun "Allen" Chou
              http://AllenChou.net
*/
/******************************************************************************/

#ifndef MUDBUN_MARCHING_CUBES_DEFS
#define MUDBUN_MARCHING_CUBES_DEFS

StructuredBuffer<int> triTable;
StructuredBuffer<int> edgeTable;
StructuredBuffer<int> vertTable;

static const float3 vertPosLs[8] = 
{
  float3(-0.5f, -0.5f, -0.5f), 
  float3(0.5f, -0.5f, -0.5f), 
  float3(0.5f, -0.5f,  0.5f), 
  float3(-0.5f, -0.5f,  0.5f), 
  float3(-0.5f,  0.5f, -0.5f), 
  float3(0.5f,  0.5f, -0.5f), 
  float3(0.5f,  0.5f,  0.5f), 
  float3(-0.5f,  0.5f,  0.5f), 
};

#endif

