Browse Source

added collision shapes

danaugrs 7 years ago
parent
commit
da233fb599
4 changed files with 23 additions and 0 deletions
  1. 5 0
      physics/shape/box.go
  2. 6 0
      physics/shape/capsule.go
  3. 6 0
      physics/shape/cylinder.go
  4. 6 0
      physics/shape/heightfield.go

+ 5 - 0
physics/shape/box.go

@@ -0,0 +1,5 @@
+// Copyright 2016 The G3N Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package shape

+ 6 - 0
physics/shape/capsule.go

@@ -0,0 +1,6 @@
+// Copyright 2016 The G3N Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package shape
+

+ 6 - 0
physics/shape/cylinder.go

@@ -0,0 +1,6 @@
+// Copyright 2016 The G3N Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package shape
+

+ 6 - 0
physics/shape/heightfield.go

@@ -0,0 +1,6 @@
+// Copyright 2016 The G3N Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package shape
+