Azaezel
90a93bd17d
wireframe capsule set to the contents of the solid capsule for corrections and backwards compatibility
2019-02-19 16:30:39 -06:00
Azaezel
2ac7d55be0
solid capsule renderfix. +/- halfhieght, not full, and need to do vector, not point-multiplication for the verts
2019-02-19 16:10:33 -06:00
Azaezel
0bc332374f
corrects a parity flaw between wireframe and non wireframe box display
2019-02-19 13:13:23 -06:00
Areloch
36db8eacc3
Merge pull request #2236 from Azaezel/memberMess
...
cleans up all 'hides' warnings (at time of writing)
2018-05-30 20:36:43 -05:00
Azaezel
3cec0f9d98
augmentation to drawArrow to allow one to explicitly define a radius.
2018-03-27 14:57:23 -05:00
Azaezel
870acaf5e4
gfxDrawutil, gizmo shadowvar cleanups
2018-03-15 20:44:13 -05:00
Areloch
0801a3cca8
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
OTHGMars
77da6900a8
Prevents GFXDrawUtil::drawTextN() from drawing one character more than requested if in_string has more than n characters.
2017-05-12 18:54:01 -04:00
James Urquhart
212ac36cc1
Tidy up indentation in openvr changes
2016-09-11 22:51:00 +01:00
James Urquhart
a83afa07ea
Fix blockiness when drawing to gui overlays using standard draw commands
2016-09-11 22:42:42 +01:00
Areloch
8a7159c00e
Fixes the drawUtil rendering of polyhedrons by correcting the index ordering to work with triangleStrip as opposed to Fan.
2016-05-22 23:51:58 -05:00
rextimmy
5a4bb6b36d
DX11/GL border offset fix for GFXDrawUtil::drawRect
2016-04-08 18:58:53 +10:00
rextimmy
41e5caf22b
Direct3D11 Engine/source changes
2016-03-20 21:52:11 +10:00
rextimmy
e3b228db8b
Fix for OpenGL/D3D11 bottom border offset
2015-12-28 09:17:14 +10:00
Ben Payne
4694b0a8ed
Fix buffer size larger than necessary
2015-01-26 16:52:04 -05:00
Ben Payne
a88339c219
Fix buffer overflows due to incorrect use of sizeof
...
A snippet of example code:
UTF16 pszFilter[1024];
...
convertUTF8toUTF16((UTF8 *)mData.mFilters, pszFilter, sizeof(pszFilter));
Since the conversion function is expecting the third parameter to be the
length in 16-bit characters, *not* bytes, this results in the function
writing outside the bounds of the output array.
To make this less likely to happen in the future (I hope), I've provided a
template function that infers the correct size of a static array, so it's
no longer necessary to pass the size in most cases. The sized function has
been renamed with an "N" suffix to hopefully encourage this use.
This bug was caught due to a warning from MSVC about stack corruption
occurring in codeBlock::exec(), after opening a file open dialog twice in
succession. After some hunting, I found that this was due to
FileDialog::Execute() passing incorrect buffer sizes to the conversion
function, which resulted in the function writing a null terminator into
some memory that happened to be in the stack frame of codeBlock::exec()!
2015-01-26 16:52:01 -05:00
LuisAntonRebollo
cc16277ce6
Add GFXDevice::setupGenericShader for fix render on non FFP.
2014-11-08 17:59:36 +01:00
Daniel Buckmaster
9a05899d8e
Allow drawing 2D squares with 0 rotation angle.
2014-07-10 11:30:56 +02:00
Daniel Buckmaster
87d9e245b7
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
...
Conflicts:
Engine/source/platform/platformCPUCount.cpp
2014-04-04 13:43:25 +11:00
Andy Maloney
0db6e1bc57
Fix potential crashes
...
- some compilers have problems with using locally redeclared loop vars after an internal loop
- fix ordering of conditional checks
2013-12-04 16:50:23 -05:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00