Commit Graph

66 Commits

Author SHA1 Message Date
Dean Herbert b5954a55ad Remove empty <returns> xmldoc 2021-04-12 17:46:14 +09:00
smoogipoo 3bcf9c255a Add Triangles.Reset() 2020-11-17 13:06:30 +09:00
smoogipoo 33c643e369 Add obsoletion for unused property 2020-11-17 12:23:34 +09:00
Dean Herbert dde7f706aa Avoid rapid triangle repositioning during editor slider placement 2020-10-02 15:51:14 +09:00
alex 0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
smoogipoo f71c45cb1b Remove shallPropagate 2020-02-25 11:30:33 +09:00
smoogipoo 91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
Sebastian Krajewski 0b9cc8ed1b Revert "Move colour generation to TriangleParticle"
This reverts commit de4c62788c.
2020-01-07 09:58:37 +09:00
Sebastian Krajewski de4c62788c Move colour generation to TriangleParticle 2020-01-06 12:51:38 +01:00
Sebastian Krajewski d1f3cb3dbd Premature checks to avoid unnecessary updates 2020-01-06 01:53:29 +01:00
Sebastian Krajewski f70f25098b Change visible triangles colour when dark or light colour is changed 2020-01-06 00:32:13 +01:00
Berkan Diler fccdbffa93 Use MathF instead of Math- functions when possible
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
2019-11-25 00:45:42 +01:00
Dean Herbert 90b1fe81f3 Update cached usage in line with framework changes 2019-08-09 19:12:29 +09:00
Dean Herbert 07a0df7c4f Fix bracket precedence 2019-07-22 18:29:04 +09:00
Dean Herbert 4c592a5e65 Fix TriangleDrawNode crash when aimcount is zero 2019-07-20 22:52:07 +09:00
Dean Herbert 5696d79423 Use TriangleBatch 2019-07-19 23:47:48 +09:00
Dean Herbert 024f136d82 Reduce buffer count by one 2019-07-19 14:24:11 +09:00
Dean Herbert 95f36c36c4 Late-initialize vertex batch for safety 2019-07-19 01:52:53 +09:00
Dean Herbert a23bb3a6b3 Account for headless nulls (but how?) 2019-07-19 01:14:55 +09:00
Dean Herbert 00f1d1b53c Reduce Triangle drawnode overhead by ~90%
This was never batching, ever. Pointless memory overhead.
2019-07-19 00:53:00 +09:00
smoogipoo c7d0fcd42a Update drawnodes 2019-06-06 16:49:35 +09:00
smoogipoo d8af5e1c5a Update in-line with drawnode changes 2019-04-02 11:56:22 +09:00
smoogipoo 04d756524d Adjust with shader changes 2019-03-07 18:30:18 +09:00
smoogipoo bf8360636a Adjust drawnodes to use the new shared data structure 2019-03-01 17:25:15 +09:00
Dean Herbert 0788a7e9f1
Merge branch 'master' into more-inspections 2019-02-28 14:32:57 +09:00
Dean Herbert 42be7857d1 Use expression body for property get/set where possible 2019-02-28 13:58:19 +09:00
Dean Herbert 26d53d06a9 Fix remaining issues 2019-02-28 13:31:40 +09:00
Dean Herbert 8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
smoogipoo f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
ekrctb 68980fc477 Adjust usage of Handle(Non)PositionalInput to follow framework update 2018-10-02 14:45:33 +09:00
smoogipoo a8f156584b Update framework with positional/non-positional changes 2018-09-26 14:01:15 +09:00
Dean Herbert a1780fddc9 DrawInfo -> DrawColourInfo 2018-09-06 18:02:04 +09:00
Dean Herbert 32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
smoogipoo 3f3f57e51e Use cached vertexbatch add delegate 2018-03-22 15:13:38 +09:00
TocoToucan ae032cbf23 Support HandleKeyboardInput, HandleMouseInput, CanReceiveKeyboardInput, CanReceiveMouseInput properties 2018-01-07 23:40:00 +03:00
Dean Herbert 37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
Dean Herbert fb7740a3ab Update all dependencies in line with framework 2017-09-13 20:25:40 +09:00
smoogipooo b191d96aab CI fixes. 2017-06-21 11:35:19 +09:00
paparony03 62dee59672 Shapes namespace
Depends on https://github.com/ppy/osu-framework/pull/837
2017-06-20 15:54:23 +10:00
smoogipooo 25ff4de39a Update with framework changes. 2017-06-08 17:57:06 +09:00
Thomas Müller 298c0f5757 Structure velocity code more clearly and avoid redundant parenthesis 2017-05-29 19:08:06 +02:00
Thomas Müller db444a61cb Reduce per-triangle per-frame computation significantly 2017-05-29 18:30:49 +02:00
Thomas Müller d3f2d480a8 Fix incorrect triangle state within the first frame 2017-05-29 18:24:17 +02:00
Thomas Müller 2f063ee41d Make triangle edges smooth again 2017-05-29 18:20:51 +02:00
smoogipooo c8cf387f5f A bit more cleanup. 2017-05-25 22:09:02 +09:00
smoogipooo 91dba765c2 Add back the concept of triangle ordering by size. 2017-05-25 22:03:36 +09:00
smoogipooo 86f6db2d31 Cleanup. 2017-05-25 21:33:49 +09:00
smoogipooo 97e57178a7 Make triangles use raw vertices instead of sprites. 2017-05-25 21:33:04 +09:00
Dean Herbert a9d1e54c27 Adjust triangle movement based on amplitude 2017-05-24 13:08:54 +09:00
Dean Herbert 863dc44c4d
Some minor improvements. 2017-04-06 09:57:34 +09:00