Garux
a04eae5054
simpler plane3_translated()
2025-11-16 22:57:32 +05:00
Garux
efca27ac91
tweak plane3_translated()
2025-11-16 04:12:30 +05:00
Garux
e1e551ff45
minor tweaks
2025-11-03 00:35:36 +05:00
Garux
5b380fd6fe
remove explicit float literal specifiers
2025-11-02 01:27:42 +05:00
Garux
2f17128f06
remove some odd static_cast<>
2025-11-01 20:49:05 +05:00
Garux
17d6588d1a
use std::fabs to avoid conversion to double
2025-11-01 19:08:32 +05:00
Garux
7111e78f24
undo = default; constructors, they allow zero initialization, unlike constructors with empty body
2025-10-30 00:19:03 +05:00
Garux
9ea0873388
minor tweaks
2025-09-08 14:22:10 +05:00
Garux
86d08f9e93
use std::array for PlanePoints
2025-09-07 18:20:13 +05:00
Garux
b8ee46f8d7
fix -Wtautological-compare warning
...
retroactive change in c++23 must work in modern compilers in c++20 mode
2025-09-06 18:32:18 +05:00
Garux
05f3f66be7
snap angle, angles keys on transform to zero to avoid scientific notation in saved string
2025-05-03 16:30:26 +05:00
Garux
607d4c67ad
tweak formatting
2025-02-05 15:59:29 +05:00
Garux
4a368deef0
minor refactoring
2025-02-04 12:15:12 +05:00
Garux
242a481259
use math/vectorfwd.h
2025-01-30 22:39:42 +05:00
TimePath
d71556d1de
Embrace lambdas
2025-01-21 18:54:52 +05:00
Garux
bf9feb943a
minor refactoring
2025-01-11 12:53:41 +05:00
Garux
0dfd0673ae
remove lrint, llrint excess definitions
2024-12-05 22:33:56 +05:00
Garux
6a652161cf
add quaternion_for_unit_vectors_safe()
2024-10-20 00:04:05 +05:00
Garux
88a03b07be
normalize rendered light color for display consistency (compiler normalizes it anyway)
...
lower 3d light sphere brightness to reduce occlusion
#63
2022-12-17 02:15:38 +06:00
Garux
9d3d204018
Qt
2022-10-27 09:10:31 +03:00
Garux
e62483970f
double precision clipper points
2021-11-23 16:33:16 +03:00
Garux
cf8e0e1501
handle more cases in seamless patch<>brush tex paste
2021-11-16 00:38:47 +03:00
Garux
b0b997e493
manage stl includes
2021-10-31 12:38:53 +03:00
Garux
bf6389fc26
use #pragma once
2021-10-22 02:19:50 +03:00
Garux
3960adf898
remove ExtractFilePath() ExtractFileBase() ExtractFileExtension()
2021-10-04 11:34:15 +03:00
Garux
bafb339c09
MergeMetaTriangles: epsilon compare st, improves merging imprecise sts, e.g. for nonplanar surfaces after q3map_tcgen or just brush face texture projection
2021-09-03 06:23:40 +03:00
Garux
f0c393fcbf
remove __attribute__ ((unused)) uses
2021-08-19 23:14:18 +03:00
Garux
ee92bdd801
minor tweaks
2021-07-27 22:16:05 +03:00
Garux
7796044913
fix clang build error
2021-06-22 19:17:58 +03:00
Garux
31e7829e2b
* support negative misc_model scale
2021-05-11 19:05:54 +03:00
Garux
edabdd157e
shorten BernsteinPolynomial
2021-03-25 18:03:46 +03:00
Garux
f8ab9a3b59
remove IntegralConstant hack
2021-03-25 05:50:17 +03:00
Garux
60652a335f
remove empty .cpp of header libs
2021-03-24 01:20:05 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
4ce944444d
rewrite q3map2 math in c++
2021-02-25 19:41:43 +03:00
Garux
aa99f4d254
* UV Tool (edit texture alignment of selected face) modifiers:
...
pivot control point and lines: ctrl = snap hard to face vertices and grid
grid density controls: shift = change density of both axes synchronously, ctrl = power of two grid
scale lines: shift = scale axes synchronously, ctrl = snap hard to vertices
alt + m1 on grid = skew texture (is possible alright in BP and Valve220 map formats, not in AP); ctrl = snap hard to edges
texture move: shift = only move along the axis with the biggest move, ctrl = snap grid lines hard to vertices and pivot
rotate: shift = rotate with step of 15 degrees, ctrl = snap hard to edges
2019-05-19 10:30:44 +03:00
Garux
3ce07bb310
change points order in plane3_for_points( const BasicVector3<Element>& p0, const BasicVector3<Element>& p1, const BasicVector3<Element>& p2 )
...
to be consistent over the related code
to omit points swap there and there
2019-05-01 12:38:58 +03:00
Garux
71c63fbdc6
* fix alt + m1 indirect faces picking, when object is partially or fully out of camera view
...
refactor math functions
2019-04-28 20:54:29 +03:00
Garux
9f80983975
prevent buffer underflow in Vector4ClipPolygon
2019-02-22 23:55:20 +03:00
Garux
ae1bd2c066
matrix4_for_normal_transform, matrix4_transformed_normal, plane3_transformed_affine_full functions
2018-05-16 14:16:43 +03:00
Garux
e1bc4a8ba9
fix quaternion_for_unit_vectors, quaternion_normalised
...
RotateFree got lower (realistic) sensitivity
2018-05-16 02:59:18 +03:00
Garux
813cd70fd3
add vector3_max_abs_component_index, vector3_min_abs_component_index functions
2018-05-14 22:35:31 +03:00
Garux
93aef246ea
* support mouse_moved_epsilon system in camera freelook + refactor RadiantWindowObserver
2018-04-14 23:12:53 +03:00
Garux
a02c1312c4
try to increase precision of matrix transform vector operations
2018-03-08 16:57:47 +03:00
Garux
eae7ac024a
clean namedentity, forward declarations, ostream_write
2018-02-22 18:56:53 +03:00
Garux
e7b4a4fad2
add class Matrix4 commentary
2017-11-27 14:05:09 +03:00
Garux
3f1c97ebeb
Radiant:
...
misc...
* selection system: fixes of: selecting point behind point (not perfectly precise distance)
selecting occluded objects and faces via direct and indirect hits
* select models from back in 2d
2017-08-02 09:53:56 +03:00
Garux
fb7c979d42
Radiant:
...
misc...
* place created simple patch mesh not in middle of bbox, but on edge to make result more usable
* prefs-interface-layout-single scrollable toolbar
2017-08-02 09:47:35 +03:00
Garux
a102c41b48
Radiant:
...
misc...
* changed surface inspector behavior from 'set whole texture projection' to 'set modified value' (makes sense for multiple surfaces selected)
* BP: surface inspector and Tex* binds scale texture by its axes, not world axes
* BP: fix rotation of tex projection with scale S != scale T
* BP: fix ruining nonregular tex projections by surface inspector (for example after fit/seamless/arbitrary projection)
* jump over tex projection scale = 0 case, while modifying one (AP and BP)
2017-08-02 09:45:26 +03:00
Garux
bc5dcc1699
Radiant:
...
misc...
* extradebug_quicker BUILD mode (defines _DEBUG_QUICKER = no slowing down debug renderables)
* draw bbox for having model + selected entities
2017-08-02 09:32:49 +03:00