rdb
05ed918d63
general: mark deprecated methods with the @deprecated tag
...
This makes them easier to find and, if necessary, automatically generate deprecation warnings for.
2019-09-08 09:50:28 +02:00
rdb
029d7363cd
distort: fix use of cylindrical_k in oSphereLens.cxx
2019-03-17 00:17:11 +01:00
rdb
bcc2e3e404
gobj: add Geom::get_animated_vertex_data() short-hand
...
This is a method for getting the animated vertex data that will keep working even if GeomVertexData::animate_vertices() gets deprecated due to #421 being fixed.
2018-10-15 22:13:21 +02:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
Sam Edwards
b2bfb31114
general: Remove `using std::*` from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
e2b4353800
general: Replace NULL (and 0 as pointer) with C++11 nullptr
...
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
Sam Edwards
9dd37e9dbc
general: Add guards to ensure proper BUILDING_ macros defined
...
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
rdb
dd2806c8bd
Mark constructors 'explicit' for which coercion makes no sense
2017-11-06 19:47:38 +01:00
rdb
6f8b379bda
Big patch full of performance improvements
...
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +02:00
rdb
e608fa69c7
Merge branch 'master' into interrogate-overhaul
...
Conflicts:
dtool/src/cppparser/cppBison.yxx
dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-03-14 16:47:31 +01:00
rdb
68cf8cf44f
Fix various issues with API documentation generator
2015-03-13 18:40:26 +01:00
rdb
6db5d0dc11
Huge cppparser and interrogate overhaul, bringing:
...
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
David Rose
df33105e30
workaround for some artifacts with missing points in distortion map
2014-10-28 21:43:27 +00:00
David Rose
8076fedd64
fix incorrect depth computation for OSphereLens
2013-09-27 22:20:44 +00:00
David Rose
96b048519e
stdfloat_double issue
2013-05-04 03:02:06 +00:00
David Rose
a99e543f05
wip: PfmFile::calc_bilinear_point()
2013-04-11 17:24:32 +00:00
David Rose
a515048908
add undist_lut to ProjectionScreen, PfmVizzer
2013-04-11 14:41:46 +00:00
David Rose
ab40d5456e
properly deal with animated vertices in make_flat_mesh()
2013-01-11 17:43:18 +00:00
David Rose
93bd44e85e
fix confusion with depth range of Lens::project()
2013-01-11 02:26:36 +00:00
David Rose
eefb99cbc5
define Lens::extrude_depth() to reverse Lens::project(), and use this in PfmVizzer
2013-01-10 02:01:39 +00:00
David Rose
38e4d64f22
add set_texcoord_3d
2012-08-09 05:55:24 +00:00
David Rose
c2fb0e11a9
revert accidental debug checkin
2012-06-25 22:12:39 +00:00
David Rose
1bd2db3b20
minor refcounting issue
2012-06-22 00:30:12 +00:00
David Rose
19ddfa1ba2
fix several coordinate system issues
2012-03-14 16:29:05 +00:00
David Rose
401da63c22
OSphereLens shouldn't scale vertical component by focal_length.
2012-01-15 23:21:08 +00:00
David Rose
8f68dd373b
return status from recompute_if_stale()
2012-01-03 01:47:02 +00:00
David Rose
b405b6bfac
add set_auto_recompute()
2011-12-30 19:24:47 +00:00
David Rose
dfe16c64f6
rename all Panda-built libraries to begin with libp3 or libpanda
2011-12-06 02:39:21 +00:00
David Rose
be2657311d
pipeline lens changes
2011-11-06 02:56:02 +00:00
David Rose
501470169f
stdfloat_double
2011-10-10 05:25:10 +00:00
David Rose
0316dc67e3
add OSphereLens
2011-03-14 20:08:15 +00:00
David Rose
0c90c36fd7
new callback system
2009-03-14 19:31:37 +00:00
David Rose
58e0537e3c
wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion
2008-11-07 21:12:42 +00:00
David Rose
621b831913
allow-live-flatten
2008-10-02 23:39:51 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
39dc3d9c3e
add allow-incomplete-render
2007-06-06 21:05:17 +00:00
David Rose
5d2466c72a
osx tweaks
2006-09-27 04:03:07 +00:00
David Rose
425ada050a
add PandaNode::get_fancy_bits(), remove PandaNode::has_cull_callback()
2006-09-20 00:54:15 +00:00
David Rose
ddd1046462
factor out Thread::get_current_thread() some more
2006-04-26 07:31:23 +00:00
David Rose
8a78fffd8f
multithreading optimizations, tau profiler, related changes
2006-04-05 19:36:05 +00:00
David Rose
825717c720
use modify_geom() instead of get_unique_geom()
2006-02-23 21:09:00 +00:00
Roger Hughston
8065be4f57
More Motion in osx Land
2006-02-10 20:13:14 +00:00
David Rose
cf01ef9cd6
add NodePath::find_material(), find_all_texcoords(), etc. Make Material be directly modifiable.
2006-01-15 06:34:33 +00:00
David Rose
cb2e0c46f0
fix text glyph caching problem
2005-10-02 16:56:51 +00:00
Josh Yelon
9729541f63
Added macrocomposites
2005-09-27 22:05:52 +00:00
David Rose
f46eaaa3a8
3-d texture coordinates, deal with animation properly
2005-08-16 20:27:51 +00:00