bvh 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +27 -0
- data/EXAMPLES.rdoc +1 -0
- data/LICENSE +20 -0
- data/README.rdoc +97 -0
- data/Rakefile +58 -0
- data/VERSION +1 -0
- data/bvh.gemspec +69 -0
- data/ext/bvh/Makefile +149 -0
- data/ext/bvh/bvh.c +10 -0
- data/ext/bvh/bvh.h +10 -0
- data/ext/bvh/bvh_parser.c +63 -0
- data/ext/bvh/extconf.rb +4 -0
- data/lib/bvh.rb +74 -0
- data/lib/bvh/exporter.rb +86 -0
- data/lib/bvh/matrix.rb +19 -0
- data/lib/bvh/motion.rb +79 -0
- data/lib/bvh/motion/channel_data.rb +147 -0
- data/lib/bvh/motion/frame.rb +124 -0
- data/lib/bvh/parser.rb +177 -0
- data/lib/bvh/skeleton.rb +84 -0
- data/test/bvh_test.rb +62 -0
- data/test/data/in/karate.bvh +767 -0
- data/test/helper.rb +13 -0
- metadata +89 -0
data/test/helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'test/unit'
|
3
|
+
require 'shoulda'
|
4
|
+
|
5
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
6
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
7
|
+
require 'bvh'
|
8
|
+
|
9
|
+
class Test::Unit::TestCase
|
10
|
+
def test_path
|
11
|
+
File.dirname(__FILE__)
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bvh
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Colin MacKenzie IV (sinisterchipmunk)
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-08 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: shoulda
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description: A library for loading, modifying and saving BVH motion capture files.
|
26
|
+
email: sinisterchipmunk@gmail.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions:
|
30
|
+
- ext/bvh/extconf.rb
|
31
|
+
extra_rdoc_files:
|
32
|
+
- LICENSE
|
33
|
+
- README.rdoc
|
34
|
+
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
37
|
+
- EXAMPLES.rdoc
|
38
|
+
- LICENSE
|
39
|
+
- README.rdoc
|
40
|
+
- Rakefile
|
41
|
+
- VERSION
|
42
|
+
- bvh.gemspec
|
43
|
+
- ext/bvh/Makefile
|
44
|
+
- ext/bvh/bvh.c
|
45
|
+
- ext/bvh/bvh.h
|
46
|
+
- ext/bvh/bvh_parser.c
|
47
|
+
- ext/bvh/extconf.rb
|
48
|
+
- lib/bvh.rb
|
49
|
+
- lib/bvh/exporter.rb
|
50
|
+
- lib/bvh/matrix.rb
|
51
|
+
- lib/bvh/motion.rb
|
52
|
+
- lib/bvh/motion/channel_data.rb
|
53
|
+
- lib/bvh/motion/frame.rb
|
54
|
+
- lib/bvh/parser.rb
|
55
|
+
- lib/bvh/skeleton.rb
|
56
|
+
- test/bvh_test.rb
|
57
|
+
- test/data/in/karate.bvh
|
58
|
+
- test/helper.rb
|
59
|
+
has_rdoc: true
|
60
|
+
homepage: http://github.com/sinisterchipmunk/bvh
|
61
|
+
licenses: []
|
62
|
+
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options:
|
65
|
+
- --charset=UTF-8
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
version:
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
version:
|
80
|
+
requirements: []
|
81
|
+
|
82
|
+
rubyforge_project:
|
83
|
+
rubygems_version: 1.3.5
|
84
|
+
signing_key:
|
85
|
+
specification_version: 3
|
86
|
+
summary: A library for loading, modifying and saving BVH motion capture files.
|
87
|
+
test_files:
|
88
|
+
- test/bvh_test.rb
|
89
|
+
- test/helper.rb
|