Skip to content

Commit

Permalink
fix test?
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Jan 4, 2024
1 parent 4acf7bb commit e437b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ReferenceTests/src/tests/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ end

# Use same uvs/texture-sections for every side of one voxel id
flat_uv_map = [
Vec4f(x, y, x+1/2, y+1/4)
Vec4f(x, x+1/2, y, y+1/4)
for x in range(0.0, 1.0, length = 3)[1:end-1]
for y in range(0.0, 1.0, length = 5)[1:end-1]
]
Expand Down
4 changes: 2 additions & 2 deletions src/basic_recipes/voxel.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# used_attributes(::Type{<:Plot}, args...) = (limits,)

function convert_arguments(::Type{<:Voxel}, chunk::Array{<: Any, 3})
function convert_arguments(::Type{<:Voxel}, chunk::Array)
return (Array{UInt8, 3}(undef, size(chunk)),)
end
function convert_arguments(::Type{<:Voxel}, chunk::Array{UInt8, 3})
Expand Down Expand Up @@ -87,7 +87,7 @@ function local_update(plot::Voxel, is::Union{Integer, UnitRange}, js::Union{Inte
end

Base.@propagate_inbounds function _update_voxel(
output::Array{UInt8, 3}, input::Array{<: Any, 3}, i::Integer,
output::Array{UInt8, 3}, input::Array, i::Integer,
is_air::Function, scale, mini::Real, maxi::Real
)

Expand Down

0 comments on commit e437b94

Please sign in to comment.