voxelamming_gem 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51a80ab5612c6548f4cb56bd55e4657dd83539b2e3e55dd70b10651b88b80fd2
4
- data.tar.gz: 5c7ef9d03b50e2a1e8dc353ff1123b035963c5cb8d775052c7389180e2a6aa1e
3
+ metadata.gz: 8ff1ac60303d84e62d69ad720a84ef3db7e180ee41c121d0e8c099dfa267aa2d
4
+ data.tar.gz: 17e564b684612fcf5ae6e1fbb748e89f2eb429fed9eff5a6759d79a7f9017bbe
5
5
  SHA512:
6
- metadata.gz: ffa52c93434e928dbadfb97cd38fc8b3c0309d58330e600636cd9df08bcee43a7e807f34fc5c397b910576a9ba1719e8cd256177fd418468965d233025b3ae61
7
- data.tar.gz: 911e43422a9913cd7966a707511179a87e459f7e9b6a8f0584eb0a0e7d7d4b1435ff90fc8ad88e32c292fa7b9ff8a54bb96d4e7bcd1cb84b044acbbb73cfd9f3
6
+ metadata.gz: fb4f8cf109ff0205257e3e24cd11b2b634390beada5a4eb61135f936e809af393afa6675074359c76c85e39efd78bae969c8b2d14ad5de96335c4b68431f9cc5
7
+ data.tar.gz: a00a9cae5444283683504ae9476c875d6faf910bbbf7944d361cb043e22a0efdca3eb35fa802853c996571561a27729c23d0e3231663c31a95577b2113154b59
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VoxelammingGem
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -440,7 +440,7 @@ module VoxelammingGem
440
440
  # Make model
441
441
  def self.get_boxes_from_ply(ply_file)
442
442
  box_positions = Set.new
443
- File.open("./ply_file/#{ply_file}", 'r') do |f|
443
+ File.open(ply_file, 'r') do |f|
444
444
  lines = f.read
445
445
  lines = lines.gsub("\r\n", "\n")
446
446
  lines = lines.strip
@@ -497,7 +497,7 @@ module VoxelammingGem
497
497
  # csvファイルから地図データを読み込み
498
498
  heights = []
499
499
 
500
- CSV.foreach("./map_file/#{csv_file}") do |row|
500
+ CSV.foreach(csv_file) do |row|
501
501
  for h in row
502
502
  h = h.to_f
503
503
  h = h != 0 ? (h * height_scale).floor : -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxelamming_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - creativival