Skip to content

Commit

Permalink
More precision for Julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Ferris committed Feb 15, 2017
1 parent fc8f2e7 commit 62ba22e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.5-
julia 0.5
StaticArrays
Rotations 0.3.0
2 changes: 1 addition & 1 deletion test/perspective.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@testset "Perspective transformation" begin
@test PerspectiveMap()([2.0, -1.0, 0.5]) [4.0, -2.0]

if VERSION > v"0.6-"
if VERSION >= v"0.6.0-dev.948"
@test cameramap(2.0) LinearMap(UniformScaling(2.0)) PerspectiveMap()
@test cameramap((1.1,2.2)) LinearMap([1.1 0; 0 2.2]) PerspectiveMap()
@test cameramap(1.1, (3.3,4.4)) Translation([-3.3,-4.4]) LinearMap(UniformScaling(1.1)) PerspectiveMap()
Expand Down

0 comments on commit 62ba22e

Please sign in to comment.