David Fioramonti
d55406b642
TITANIC: Remove DVector and DAffine files from build and folder
2017-09-02 06:41:07 -07:00
David Fioramonti
b842a43c40
TITANIC: Swap DAffine usage for FPose in setViewportAngle
2017-09-02 06:40:41 -07:00
Paul Gilbert
ceb329ad0e
TITANIC: Formatting fixes for star control classes
2017-08-22 19:53:47 -04:00
David Fioramonti
04598dd5ad
TITANIC: Named some functions in fvector
2017-08-21 15:42:50 -07:00
David Fioramonti
24bec379d5
TITANIC: Pull assert out of dvector/fvector normalization
...
Before the normalization function was asserting if it couldn't
normalize now the caller can determine what to do with a failed
normalization.
2017-08-19 08:36:02 -07:00
David Fioramonti
1370b49b6a
TITANIC: Simplified dependencies for classes related to star_camera
...
This involved removing header files and forward declaring when possible.
I also reorded the header include files to be local to gloabal.
E.x., in the class implementation the class header file
would be the first included.
This is a first pass of header reduction for star_control/ files
2017-08-18 17:26:05 -07:00
Paul Gilbert
867a37618b
TITANIC: Further cleanup of FMatrix refactorings
2017-08-15 21:26:17 -04:00
David Fioramonti
e9ab6fcead
TITANIC: fmatrix refactor, matrix product now non-member function
...
The matrix product doesn't change anything about the class so it
doesn't need to be a member function.
This way other functions can do multiplication of matrices.
2017-08-15 14:49:00 -07:00
David Fioramonti
40b09ffd54
TITANIC: fmatrix refactor, common code for matrix product
...
Changed the left and right matrix product to use the matrix
product function with the matrix order reversed.
2017-08-15 14:44:08 -07:00
David Fioramonti
4bd42373ce
TITANIC: star control, fmatrix refactoring
...
renamed fn2->MatRProd and fn3->MatLProd.
They do post (R) and pre (L) multiplication.
2017-08-15 14:41:48 -07:00
Paul Gilbert
906c6de3d1
TITANIC: Fix daffine.h includes
2017-07-12 19:52:25 -04:00
Paul Gilbert
256b27581c
TITANIC: Rename DMatrix to DAffine, thanks to wjp
2017-07-12 19:41:05 -04:00
Paul Gilbert
dc5645cb11
TITANIC: Change rows to cols in DMatrix, thanks to wjp
2017-07-12 19:20:11 -04:00
Paul Gilbert
38beceef7d
TITANIC: Renamings of orientation related variables and methods
2017-05-28 15:53:52 -04:00
Paul Gilbert
93a4c29b11
TITANIC: Change many doubles to floats to match original's precision
...
Many of the Star Control classes in the original explicitly used floats
rather than doubles. I'm switching to using them where applicable for
now, since the resulting figures will more closely match the original,
and it will be easier to spot errors in the various formulas
2017-04-05 21:08:51 -04:00
Paul Gilbert
5e4feaf86a
TITANIC: Cleanup for FMatrix fn1 and called methods
2017-03-28 21:11:58 -04:00
Paul Gilbert
e3a11ba1d8
TITANIC: Finished FMatrix class
2017-03-23 21:16:22 -04:00
Paul Gilbert
530aa6c9a0
TITANIC: Finished CStarControlSub24 class
2017-03-22 20:52:33 -04:00
Paul Gilbert
5a44168de6
TITANIC: Finished CStarControlSub12 setViewportPosition
2017-03-19 23:25:47 -04:00
Paul Gilbert
2a76819b0f
TITANIC: Implementing CStarControlSub12 class
2017-03-18 23:40:24 -04:00
Paul Gilbert
3bfc3f77dc
TITANIC: More matrix renamings, thanks to Dark-Star
2017-03-12 19:55:56 -04:00
Paul Gilbert
d03660cd85
TITANIC: Implementing CStarControlSub21 class
2017-03-11 20:59:48 -05:00
Paul Gilbert
d84d166fc6
TITANIC: Implementing CStarControlSub13 class
2017-03-11 14:30:31 -05:00
Paul Gilbert
87db74d771
TITANIC: Adding CStarControlSub12 methods
2016-07-17 20:18:20 -04:00
Paul Gilbert
011286d4b8
TITANIC: Extra construction for CStarControlSub12
2016-07-17 16:43:53 -04:00
Paul Gilbert
9b1efa3bf5
TITANIC: Added FMatrix methods
2016-07-17 13:09:49 -04:00
Paul Gilbert
e1695101bc
TITANIC: Beginnings of matrix and vector classes
2016-07-17 13:09:46 -04:00