-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
116 lines (71 loc) · 4.81 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
2020-07-23 vaiorabbit <http://twitter.com/vaiorabbit>
* rmath3d.c, rmath3d_plain.rb (RMtx4): Added lookAtLH, perspectiveLH, etc.
2020-06-21 vaiorabbit <http://twitter.com/vaiorabbit>
* rmath3d.c, rmath3d_plain.rb (RMtx4): Added argument 'ndc_homogeneous' for projection matrix APIs.
Set true for the environment with Z coordinate ranges from -1 to +1 (OpenGL), and false otherwise (Direct3D, Metal)
https://www.slideshare.net/Mark_Kilgard/opengl-32-and-more/26-Direct3D_vs_OpenGL_Coordinate_System
https://metashapes.com/blog/opengl-metal-projection-matrix-problem/
* rmath3d_plain.rb: Removed Fixnum and Bignum symbols (deprecated and unified into Integer class since Ruby 2.4)
2017-07-22 vaiorabbit <http://twitter.com/vaiorabbit>
* Added 'Integer' type for argument type branching (constant ::Fixnum is deprecated since ruby 2.4).
2015-08-23 vaiorabbit <http://twitter.com/vaiorabbit>
* rmath3d.c (def ==): Removed control path returning Qnil.
* rmath3d_plain.rb (def ==): Removed control path returning Qnil.
2015-05-02 vaiorabbit <http://twitter.com/vaiorabbit>
* Ruby 1.9.3 and prior versions are no longer supported. Ref.: https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/
* rmath3d.c: Data_Get_Struct -> TypedData_Get_Struct, etc.
2015-04-12 vaiorabbit <http://twitter.com/vaiorabbit>
* RVec2.c|h, RMtx2.c|h: Added.
2014-05-17 vaiorabbit <http://twitter.com/vaiorabbit>
* ext/rmath3d/rmath3d.c: Fixed memory management
2013-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
* rmath3d_plain.gemspec: Packs pure ruby implementation into 'rmath3d_plain-X.Y.Z.gem'.
2013-09-21 vaiorabbit <http://twitter.com/vaiorabbit>
* README.txt: Updated tested environment and information about building native extension.
* README.md: Renamed from README.txt
2013-09-16 vaiorabbit <http://twitter.com/vaiorabbit>
* sample/opengl-bingings: Added sample using my opengl-bindings gem ( https://rubygems.org/gems/opengl-bindings ).
2013-07-15 vaiorabbit <http://twitter.com/vaiorabbit>
* Fixed directory organization / source file names to comply with RubyGems' packaging system.
2010-09-14 vaiorabbit <http://twitter.com/vaiorabbit>
* RVec3.c|h, RVec4.c|h, WrapRMath.c, RMath.rb (RVec3#transformTransposed, etc): Added.
2010-08-15 vaiorabbit <http://twitter.com/vaiorabbit>
* RVec3.c, WrapRMath.c, RMath.rb (RVec3#transformByQuaternion): Added.
2010-06-23 vaiorabbit <http://twitter.com/vaiorabbit>
* WrapRMath.c (RQuat_getElement/RVec3_getElement/RVec4_getElement):
Return values from R*GetElement() are now received by correct type (int -> rmReal).
2010-01-03 vaiorabbit <http://twitter.com/vaiorabbit>
* RMtx4.c, WrapRMath.c, RMath.rb (RMtx4#getUpper3x3/RMtx4#setUpper3x3): Added.
* WrapRMath.c (RMtx4#e00=~RMtx4#e33=): The number of arguments to C function (4th argument of rb_define_method()) is corrected.
2010-01-02 vaiorabbit <http://twitter.com/vaiorabbit>
* RMtx3.c, RMtx4.c, WrapRMath.c, RMath.rb (getRow/getColumn, SetRow/SetColumn): Added.
2009-12-21 vaiorabbit <http://twitter.com/vaiorabbit>
* Update: Old contact information is updated to the current one.
2008-08-30 vaiorabbit <http://twitter.com/vaiorabbit>
* RMtx3.c, RMtx4.c (RMtx3Inverse,RMtx4Inverse): Modified to reduce
the number of scalar multiplication.
2008-08-02 vaiorabbit <http://twitter.com/vaiorabbit>
* WrapRMath.c (RMtx3_to_s, RMtx4_to_s, etc.): Functions for "to_s"
implementation now buid strings by +sprintf+, not +rb_str_plus+, etc.
2008-07-27 vaiorabbit <http://twitter.com/vaiorabbit>
* RType.h (RMATH_SINGLE_PRECISION): Added. Enable this to force
RMath using +float+ for its internal calculation.
* WrapRMath.c (RMATH_ENABLE_ARGUMENT_CHECK): Added. Enable this
macro for strict type checking.
* WrapRMath.c: The codes for overriding "!=" operators are
removed. Note that the operation "a != b" is just a syntactic
shortcut of "!(a == b)", and the former expression is
automatically convertd into the latter one.
See: Programming Ruby: The Pragmatic Programmer's Guide
http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_expressions.html#UG
Both == and =~ have negated forms, != and !~. However, these are
converted by Ruby when your program is read. a!=b is equivalent
to !(a==b), and a!~b is the same as !(a=~b). This means that if
you write a class that overrides == or =~ you get a working !=
and !~ for free. But on the flip side, this also means that you
cannot define != and !~ independent of == and =~, respectively.
2008-07-21 vaiorabbit <http://twitter.com/vaiorabbit>
* WrapRMath.c (RMtx3,RMtx4): Added new element-wise
getters/setters (mtx.e00, mtx.e00=, etc.)
2008-07-20 vaiorabbit <http://twitter.com/vaiorabbit>
* Announce: First release.