Commit Graph

19 Commits

Author SHA1 Message Date
Lioncache
edbbe9f097 CCamera: Simplify ValidatePitch()
We can just use std::clamp here.
2025-12-08 19:48:24 -05:00
Lioncache
f6a64565cd CCamera: Simplify CastRay()
We can just make use of CRay's constructor to simplify the
initialization
2025-12-08 19:45:07 -05:00
Lioncache
561b0e08f6 CCamera: Allow toggleable camera movement speed
In a lot of 3D scene editors, it's quite common to have a default speed
that the camera can move at, plus a quicker one when shift (or some
other kind of keybind is held. We can replicate this here as a fixed
increment, but in the future this could also potentially be a
configurable UI setting.

Just makes the viewport expectations a little more natural like Blender
or 3DS Max.
2025-12-08 19:30:08 -05:00
Lioncash
7177295cbb CCamera: Make use of in-class initializers
Same behavior, less code.
2020-06-18 13:32:49 -04:00
Lioncash
114742fc37 CCamera: Resolve -Wreorder warnings 2020-06-11 20:58:59 -04:00
Aruki
7de85a5a2d Quickplay support 2019-04-06 15:53:05 -07:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
16e310fb2f Update resource selectors when their asset is renamed, fixed default world editor split sizes, disabled model editor save button outside of MP1 2017-07-18 03:07:42 -06:00
Aruki
46b65a5bcd Added support for the remaining DKCR formats; DKCR repacking works now 2017-06-26 20:34:58 -06:00
Aruki
e138cd7035 Removed dependencies on GLM 2017-03-31 23:33:11 -06:00
Aruki
ac2430e61c Minor fixes/adjustments 2017-02-21 00:09:03 -07:00
parax0
3f3735ac7a Created application class to manage editor windows, improved camera AABox orbit 2016-08-30 00:47:02 -06:00
parax0
2db740e572 Added a bunch of new options and tools to the character editor 2016-05-02 05:23:16 -06:00
parax0
82ad4fb5c8 Mass code cleanup 2016-03-27 13:09:38 -06:00
parax0
5375f34c19 Implemented TFlags for easy, type-safe bitflags 2016-01-05 11:50:10 -07:00
parax0
2db8d23516 Splitting Math into a separate subproject and adding FileIO as a PWE subproject 2015-12-16 14:39:51 -07:00
parax0
824d23efc1 Mass refactoring part 2/2: fixing include paths and project files 2015-12-14 19:07:22 -07:00
parax0
8805baaee1 Mass refactoring part 1/2: establishing multiple subprojects, moving source files to their new location, adding resources/templates to version control 2015-12-14 18:33:16 -07:00