Lynix
4de17fdffb
Remade sprite rendering
...
Added VertexColor shader flag
Added color sprite attribute
Added VertexStruct_XY_Color(_UV) struct & declaration
Former-commit-id: b664f4520aa55f4502f85f9dedab9b92040a8c16
2015-01-04 13:19:07 +01:00
Lynix
97ff9bc4ac
Improved texture creation
...
Fixed possible wasted space on NVidia hardware
Former-commit-id: 42a26c88d8bd03b1ac845c62984cf8c355f1902a
2015-01-04 12:50:56 +01:00
Lynix
ed1cc7a092
Added viewer-relative directions
...
Former-commit-id: 9d80744bd227689426b76df7e3c273de13424041
2015-01-03 22:39:51 +01:00
Lynix
596f407a79
Added DebugDrawer::Draw(position, size)
...
Draws a "size"-sized box centered on "position"
Former-commit-id: 9385762a4118fe76364faa5819fd9a94efceefbf
2015-01-03 22:32:56 +01:00
Lynix
7c47a93a72
Renamed Corner enum to BoxCorner
...
Added RectCorner and Rect::GetCorner method
Former-commit-id: dc99823ceb17f6e91cdf12779c982ab7e024ec24
2015-01-03 22:31:25 +01:00
Lynix
4e9bec804a
Merge remote-tracking branch 'origin/master' into Font-Update
...
Former-commit-id: c62f6317f401e200eff303fcf5b8945302fd89c6
2015-01-03 22:21:14 +01:00
Lynix
a1624af969
Improved [Box|Rect]::Intersect performances
...
Allowed early returns
Former-commit-id: 59001afdd9734666640d440cb8b87b5a426973ce
2015-01-03 22:15:15 +01:00
Lynix
ad3c70bbc8
Added SparsePtr substraction operator
...
Former-commit-id: e2dadc06b1f1abbd257689e6eaee77ebbfa0af5b
2015-01-03 21:50:37 +01:00
Lynix
2bfb798dd9
Minor changes
...
Former-commit-id: fd74c48a546663f4d4802826ee2d396b0874e2c9
2015-01-03 21:45:37 +01:00
Lynix
528969d0fa
Merge remote-tracking branch 'origin/master' into Font-Update
...
Former-commit-id: ae0244334123a3442c7675df80b1a501a6837257
2014-12-17 14:00:20 +01:00
Lynix
e55c521e96
Added support for skeletal models (WIP)
...
Former-commit-id: 6a6c2d9f2c68267df79dc48fa56450d2a563e323
2014-12-17 13:56:33 +01:00
Lynix
1ee02d4fcf
Improved code, fixed missing includes
...
Thanks to d@rk-marouane (@progdupeu.pl)
Former-commit-id: 4147388501d4263e624f4c6402902ef071f88ffd
2014-12-17 13:53:59 +01:00
Lynix
20607238df
SparsePtr: Allowed negative stride
...
Former-commit-id: 9ca3101347bdc071503ec9edb75b4f896a6dd2e0
2014-12-11 18:56:55 +01:00
Lynix
7316cbb694
Added OpenGL support for pixel formats A8/L8/LA8
...
Former-commit-id: b17942f7bf22daf90ddf5d8093da6c26b64a67ce
2014-12-10 19:01:03 +01:00
Lynix
96798da027
Added TODO
...
Former-commit-id: 11658e200641ba0846bc8b89376e034cd0b6c9a4
2014-12-10 14:41:56 +01:00
Lynix
a393271f04
Improved GuillotineBinPack
...
Added explicit copy/move constructor/operator
Added Expand method
Added Insert overloads (you are now able to query which rectangles were
inserted)
Made occupancy computation more precise
Overloaded methods taking a unsigned int pair with Vector2ui
Former-commit-id: f063c04a1aea0d26594db642c2466264fe139450
2014-12-10 14:38:32 +01:00
Lynix
d22c4a5ac9
Added A8 pixel format
...
PixelFormat::GetBytesPerPixel() will no longer warn with
less-than-one-byte formats
Former-commit-id: af41f0c2bc7a35c2ee617980878628ff1c8bf868
2014-12-07 03:09:39 +01:00
Lynix
15ddc29179
Added implicit conversion to SparsePtr
...
Former-commit-id: 5116a5e7687706640cd5d2ef99f5c181e00ee841
2014-12-07 03:06:12 +01:00
Lynix
a51cbc1e49
Added Sprite::SetSize(float, float) overload
...
Former-commit-id: 672a2e4f5c2a2d40b4af42c7ee4b7b37d3774117
2014-12-07 03:05:27 +01:00
Lynix
42b28e732c
Removed whitespace
...
Former-commit-id: e7bfe92a625f6102abc4fe3b11b498c43b371ee9
2014-12-07 03:04:24 +01:00
Lynix
5ae54677f1
Fixed Matrix4::IsIdentity()
...
Former-commit-id: 7f3dfb47241ec2625e7ba02decb53ad5fd3d60ac
2014-12-07 03:04:04 +01:00
Lynix
b56e40f35a
Added comment
...
Former-commit-id: 045a48cb1b0e798de31cd2aff0708324648da409
2014-12-07 03:03:45 +01:00
Lynix
3db73921c2
Made 2D nodes easier to use
...
Former-commit-id: 80c0340b93c203bd874568c9d4fb5e2fc88a5860
2014-12-07 03:03:35 +01:00
Lynix
90e6bf4493
Made Music class non copyable
...
Former-commit-id: ccbd014514b3c9f59c3fee940cc307afb890f634
2014-12-07 02:58:01 +01:00
Lynix
df6fdf6784
Added a Size parameter to View class
...
Allowing independent from rendertarget size
Former-commit-id: c131b6dd95692c72a969bf0cc6edd997911bbe58
2014-12-07 02:57:30 +01:00
Lynix
4b2e3370d9
Added GuillotineBinPack algorithm
...
Former-commit-id: 9f2fb342e7bd9e1b33937a4fd462c993ae5cec3e
2014-11-26 02:35:59 +01:00
Lynix
c86de3ed7e
Merge pull request #31 from Gawaboumga/master
...
Some changes
Former-commit-id: f4ef15537da8edef3881def68dce39f6455f9b94
2014-09-03 13:47:39 +02:00
Lynix
522ceb1e30
Improved SparsePtr class
...
Added implicit conversion from a normal pointer to a sparse pointer
Added implicit conversion to boolean
Added implicit conversion to normal pointer
Added support for const pointers
Renamed Get/Set to GetPtr/SetPtr
Former-commit-id: 32d5d2ec6a7b296c5b89b722de9ca142d5c64aae
2014-09-03 13:32:37 +02:00
Lynix
e32c0c626e
Fixed global math include
...
Former-commit-id: 0f1871a2ecf1e8b94d63612c7357d6fc0ab0287b
2014-09-03 13:30:21 +02:00
Lynix
1b94977722
Added Quaternion::Normalize static method
...
Former-commit-id: a4530be00673dec5b9731b75fb4edbac7ccd69d5
2014-09-03 13:30:12 +02:00
Lynix
00a35cd565
Removed useless enum
...
Former-commit-id: b342be41eda3271320954a0279cf0a2afdfcd8e2
2014-09-03 13:29:54 +02:00
Gawaboumga
18cf235172
Update of two headers
...
Former-commit-id: 813c36932bf842d6ad6c26aace9249894359c8de
2014-08-27 14:30:22 +02:00
Lynix
98aa804de5
Flipped texture coordinates
...
Nazara now use a top-left corner origin for UVs (DirectX-like)
Former-commit-id: 550dd76cf15bc731d1e23060d1af15c3cd5cb4fd
2014-08-25 22:37:36 +02:00
Lynix
9b1f63ce11
Fixed possible bug
...
Former-commit-id: 3ce9541e99d91140547ed8b60297d3d3785a0630
2014-08-25 20:23:00 +02:00
Lynix
6e27acc492
Added Color vertex component
...
Removed Userdata4 vertex component to keep the count to sixteen
Former-commit-id: b048f11f44528d1cf6657d095768b188217421ba
2014-08-25 20:22:10 +02:00
Lynix
fd293f8564
Fixed missing include
...
Thanks to lepiaff
Former-commit-id: 458060b52bbc74f632bfa8bef643d22e780a4a8f
2014-08-23 22:04:48 +02:00
Lynix
0d69267992
Added Image::LoadArrayFrom* (convert an atlas to an array)
...
Also added Texture::LoadArrayFrom* shortcuts
Former-commit-id: f3cde12d5b634c75de8745fa800c30749e0fe662
2014-08-18 18:13:30 +02:00
Lynix
e76b57e120
Fixed Image level computation
...
Array depth will no longer be taked in consideration when computing
level count
Former-commit-id: 93bf114127b5e252c3f8a8cbf938fcd09534a9ca
2014-08-18 17:19:09 +02:00
Lynix
df44d799c8
Added [Index|Vertex]Buffer easy constructor
...
Former-commit-id: 4536af8c833c15b49876c773defd3475a561df4b
2014-08-18 15:39:44 +02:00
Lynix
4acd61cf30
Fixed Vector[2|3]::Normalize returning NaN for zero vectors
...
Former-commit-id: e849a14189ff178134358d4ceed87955bc9f8eae
2014-08-05 17:38:49 +02:00
Lynix
b413727a21
Added required flags to UberShaderPreprocessor
...
Former-commit-id: 1118fb08d1c0a7f6ebd18042f9a2044738bc4169
2014-08-05 09:43:19 +02:00
Lynix
149ef145a3
Fixed DebugOff
...
Former-commit-id: ba77eb95c3b5b3d4d88730c0fa029fd4f40e9c91
2014-08-05 09:42:37 +02:00
Lynix
43b4f696b2
Added FIXME
...
Former-commit-id: 61dfdb35eb265a34c94913947f4ae9164e79c0d9
2014-08-05 09:41:57 +02:00
Lynix
ce01892482
Fixed missing include
...
Former-commit-id: 2adfb798af325a6c56244a3218072be74be237fb
2014-08-05 09:41:22 +02:00
Lynix
7a2a10b390
Added VertexMapper constructor
...
Removed useless headers
Former-commit-id: e8925f48eec9c52dc4f2ad7bf6a61deb755bc0ee
2014-08-03 20:58:09 +02:00
Lynix
0415f32b86
Added some comments
...
Former-commit-id: 42fb1dd19abec2befd7cb065f794e4b765d1411e
2014-08-03 20:57:24 +02:00
Lynix
d9cce5d7ce
Fixed compilation error
...
Former-commit-id: febc503b22cedaa4edf0efe3677cf38a205d7230
2014-07-29 10:30:49 +02:00
Lynix
454a5b1281
Added Matrix4::Get[Column|Row]
...
Former-commit-id: 5dc655f97d8523714c69627e70b3bf8dfdcdb1ae
2014-07-28 16:16:32 +02:00
Lynix
60d5c09c18
Renamed Basic.hpp to Algorithm.hpp
...
Former-commit-id: ba2858d26fb55069313fafc3e4464dc2e9224b7d
2014-07-28 15:18:39 +02:00
Lynix
90a616a26f
Made code more readable (Weeeee)
...
Former-commit-id: fa2a7686130fe67aa4da9f590a8f74c1b5e75ca9
2014-07-28 12:26:37 +02:00