Commit Graph

97 Commits

Author SHA1 Message Date
Thompson Lee
53b9c9afd1 Merge 237e22cdd1 into 59b0311f48 2016-08-05 05:22:59 +00:00
Thompson Lee
59b0311f48 Minor Fixes series
- Added a missing @param[in].
- Added @mtheall 's Mtx_Multiply() enhancement.
2016-08-05 00:19:55 -05:00
Thompson Lee
237e22cdd1 Enhancement: Mtx_Inverse() returns a non-zero determinant if the matrix passed in can be inverted, otherwise returns zero if the matrix is singular/degenerative. 2016-08-05 01:18:03 -04:00
Thompson Lee
acdcc69119 Removed note about undefined behavior. No longer relevant. 2016-08-05 01:06:15 -04:00
Thompson Lee
a355fdf0bd Removed __restrict. 2016-08-05 01:05:19 -04:00
Thompson Lee
1ccd4fb6fa Reverting Mtx_Lookat() changes. 2016-08-05 01:04:29 -04:00
Thompson Lee
6a77eb1dcf Added @mtheall 's Mtx_Multiply() enhancement. 2016-08-05 01:02:54 -04:00
Thompson Lee
dd546051dc C++ and C compiling errors depending on installed compilers. Used __restrict to allow GCC extension to work. 2016-08-05 00:55:20 -04:00
Thompson Lee
004aa86e16 Merge branch 'master' into minor_fixes 2016-08-04 21:03:31 -04:00
mtheall
dc4d81eea9 More additions and enhancements to math code, see details (#19)
Added C3D_AngleFromDegrees
Added FVec4_PerspDivide
Added LH option for projections
2016-08-04 21:23:28 +02:00
Thompson Lee
408eb102f7 Addressing feedback: <@mtheall> alternatively, zaxis = FVec3_Normalize(FVec3_Subtract(cameraPosition, cameraTarget)); 2016-08-04 10:21:38 -04:00
Thompson Lee
e1ab0b3613 Merge branch 'minor_fixes' of https://github.com/tommai78101/citro3d into minor_fixes 2016-08-04 10:06:24 -04:00
Thompson Lee
0a14d84890 Addressing feedback: <@mtheall>: The FVec3_New is redundant. 2016-08-04 10:05:21 -04:00
Thompson Lee
49403de54d Addressing feedback:
mtheall: The FVec3_New is redundant.
2016-08-04 10:04:11 -04:00
Thompson Lee
930442b94f Text glitch. Re-encoding to the correct format. 2016-08-04 09:53:21 -04:00
Thompson Lee
6529a84301 Adding "restrict" keyword to Mtx_Multiply(). 2016-08-04 09:51:47 -04:00
Thompson Lee
31b9f14058 Grammar rephrasing. 2016-08-04 07:22:50 -04:00
Thompson Lee
353449ab74 Added a warning note. 2016-08-04 07:12:21 -04:00
Thompson Lee
60e4cd5c2a Minor Fixes series: Adding a missing @param[in]. 2016-08-04 07:05:25 -04:00
Thompson Lee
dde8877f38 Left-handed and Right-handed Look-At Matrix functions (#17) 2016-08-04 12:43:33 +02:00
fincs
8481109e15 Fix swapped near/far in Mtx_Ortho(Tilt) 2016-08-04 12:22:04 +02:00
mtheall
766def30a3 Optimized matrix math (#15)
Added non-tilt projections
Added quaternions
Added test framework
Created logo
2016-08-04 11:33:18 +02:00
Michael Theall
7b511a809d fix Mtx_Inverse 2016-08-03 00:52:42 -05:00
Thompson Lee
d7d5ba28a1 Added a Matrix Inverse Function (#14) 2016-07-31 13:20:36 +02:00
fincs
ab534333b2 Fix minor error in uniforms.c 2016-07-21 12:06:09 +02:00
fincs
6361febd3c Correct drawing functions to take into account full geoshader support 2016-07-20 17:38:05 +02:00
fincs
a5d68c7557 Merge pull request #8 from Cruel/const
Make uniform matrix pointers const
2016-05-23 20:21:49 +02:00
Thomas Edvalson
b0b46b7133 Make uniform matrix pointers const 2016-05-23 13:43:48 -04:00
fincs
d0f8988237 Merge pull request #7 from Cruel/texture-formats
Add ETC1 and ETC1A4 texture support
2016-05-03 12:36:14 +02:00
Thomas Edvalson
909bfc9174 Add ETC1 and ETC1A4 texture support 2016-05-03 02:41:05 -04:00
fincs
2cc0a08268 Add missing texture formats to fmtSize (fix #6) 2016-04-04 00:10:06 +02:00
fincs
a37648f42f Add renderqueue-safe versions of GX_DisplayTransfer/TextureCopy/MemoryFill 2016-03-26 00:30:43 +01:00
fincs
806bf123a3 C3D_RenderTargetSetClear: Allow modification when drawOk = false 2016-03-25 23:42:58 +01:00
fincs
5c4642cd22 Fix #5 (lut_RR never getting updated) 2016-03-25 23:42:15 +01:00
fincs
7d42b57289 Fix Mtx_RotateX/Z to use standard mathematical convention (positive=CCW) 2016-01-27 21:25:21 +01:00
fincs
1e9e8ead11 Fix integer and boolean uniforms 2016-01-24 01:45:39 +01:00
fincs
b276d8cec2 Fix APT suspend with renderqueues 2016-01-22 00:06:15 +01:00
fincs
ba8656044f Fix Mtx_OrthoTilt: near/far were swapped 2016-01-20 16:06:46 +01:00
fincs
7e30059573 Add C3D_ImmDrawRestartPrim 2016-01-19 22:33:04 +01:00
fincs
184fad0623 Add C3D_GetCmdBufUsage 2016-01-19 22:32:55 +01:00
fincs
4e2075f378 Fix race condition in C3Di_RenderQueueExit 2016-01-16 12:52:13 +01:00
fincs
1358ca3e7c Bump version to v1.1.0 2016-01-06 19:54:36 +01:00
fincs
39a71a5fbf Implement render queue system 2016-01-05 17:30:05 +01:00
fincs
f74c7b19ed Examples have been moved to https://github.com/devkitPro/3ds-examples 2015-12-24 12:42:45 +01:00
fincs
e70d9fbfbf Forgot to update a Makefile 2015-12-05 22:28:00 +01:00
fincs
bb959f4612 Add README.md 2015-12-05 22:28:00 +01:00
fincs
fba59fac26 Update Makefiles in preparation for devkitARM r45 2015-12-05 22:28:00 +01:00
fincs
c4840854f1 Add geoshader example 2015-12-05 22:27:45 +01:00
fincs
413cfe004f Clear up random register writes in array/element/immediate drawing 2015-12-05 14:26:21 +01:00
fincs
959f250f4e Add C3D_BoolUnifSet, correct int/bool uniform IDs 2015-12-05 14:23:54 +01:00