Skip to content

Commit

Permalink
0.0.4: Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeform committed Mar 26, 2021
1 parent 6efdccc commit 4da943f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spacy.nimble
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version = "0.0.3"
version = "0.0.4"
author = "Spacy"
description = "Spatial data structures for Nim."
license = "MIT"

srcDir = "src"

requires "nim >= 1.2.2"
requires "vmath >= 0.4.1"
requires "bumpy >= 1.0.2"
requires "nim >= 1.4.0"
requires "vmath >= 1.0.0"
requires "bumpy >= 1.0.3"
7 changes: 7 additions & 0 deletions tests/test.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import bumpy, random, spacy, vmath

randomize(2021)

proc randVec2*(r: var Rand): Vec2 =
let a = r.rand(PI * 2)
let v = r.rand(1.0)
vec2(cos(a) * v, sin(a) * v)

template testSpace(name: string, space: untyped) =
let a = Entry(id: 1, pos: vec2(0, 0))
space.insert a
Expand Down

0 comments on commit 4da943f

Please sign in to comment.