blender/source/gameengine/Converter
Bastien Montagne 46eef60d93 Cleanup: Internal degrees removal.
This patch changes most of the reamining degrees usage in internal code into radians.
I let a few which I know off asside, for reasons explained below - and I'm not sure to have found out all of them.

WARNING: this introduces forward incompatibility, which means files saved from this version won't open 100% correctly
         in previous versions (a few angle properties would use radians values as degrees...).

Details:
- Data:
-- Lamp.spotsize: Game engine exposed this setting in degrees, to not break the API here I kept it as such
                  (using getter/setter functions), still using radians internally.
-- Mesh.smoothresh: Didn't touch to this one, as we will hopefully replace it completely by loop normals currently in dev.

- Modifiers:
-- EdgeSplitModifierData.split_angle, BevelModifierData.bevel_angle: Done.

- Postprocessing:
-- WipeVars.angle (sequencer's effect), NodeBokehImage.angle, NodeBoxMask.rotation, NodeEllipseMask.rotation: Done.

- BGE:
-- bConstraintActuator: Orientation type done (the minloc[0] & maxloc[0] cases). Did not touch to 'limit location' type,
                        it can also limit rotation, but it exposes through RNA the same limit_min/limit_max, which hence
                        can be either distance or angle values, depending on the mode. Will leave this to BGE team.
-- bSoundActuator.cone_outer_angle_3d, bSoundActuator.cone_inner_angle_3d: Done (note I kept degrees in BGE itself,
                                                                           as it seems this is the expected value here...).
-- bRadarSensor.angle: Done.

Reviewers: brecht, campbellbarton, sergey, gaiaclary, dfelinto, moguri, jbakker, lukastoenne, howardt

Reviewed By: brecht, campbellbarton, sergey, gaiaclary, moguri, jbakker, lukastoenne, howardt
Thanks to all!

Differential Revision: http://developer.blender.org/D59
2013-12-03 20:35:45 +01:00
..
BL_ActionActuator.cpp BGE: The Action Actuator can now make use of additive blending. 2013-08-14 23:32:00 +00:00
BL_ActionActuator.h BGE: The Action Actuator can now make use of additive blending. 2013-08-14 23:32:00 +00:00
BL_ArmatureActuator.cpp style cleanup 2012-09-16 04:58:18 +00:00
BL_ArmatureActuator.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ArmatureChannel.cpp BLI_math rename functions: 2013-05-26 18:36:25 +00:00
BL_ArmatureChannel.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureConstraint.cpp fix for BL_ArmatureConstraint::UpdateTarget(), was getting the pose from the target, not the subtarget. 2013-08-04 16:48:10 +00:00
BL_ArmatureConstraint.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureObject.cpp Fix T37289: ID User decrement error for Shapes on Bones when playing in BGE 2013-11-18 17:19:15 +06:00
BL_ArmatureObject.h BGE: Finally adding support for additive layer blending. 2013-08-14 23:31:49 +00:00
BL_BlenderDataConversion.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
BL_BlenderDataConversion.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
BL_DeformableGameObject.cpp style cleanup 2013-03-18 11:44:56 +00:00
BL_DeformableGameObject.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_MeshDeformer.cpp style cleanup 2012-10-22 08:15:51 +00:00
BL_MeshDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ModifierDeformer.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
BL_ModifierDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ShapeActionActuator.cpp code cleanup: 2013-03-25 02:41:30 +00:00
BL_ShapeActionActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ShapeDeformer.cpp Optimization and threading fix for shapekeys weights calculation 2013-08-19 10:36:39 +00:00
BL_ShapeDeformer.h BGE: Cleaning up BL_ShapeDeformer's use of Blender's Key. This also fixes a bug with replicas (added objects) crashing when using shape keys. 2013-04-14 18:54:06 +00:00
BL_SkinDeformer.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_SkinDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BlenderWorldInfo.cpp BGE Rasterizer Cleanup: Removing KX_BlenderGL since it was mostly one-line functions used by KX_BlenderCanvas. KX_BlenderCanvas now just calls those functions directly. 2013-11-04 19:21:16 +00:00
BlenderWorldInfo.h BGE Rasterizer Cleanup: Removing KX_BlenderGL since it was mostly one-line functions used by KX_BlenderCanvas. KX_BlenderCanvas now just calls those functions directly. 2013-11-04 19:21:16 +00:00
CMakeLists.txt Remove duplicate cmake enries in game engine and compositor 2013-10-25 11:00:16 +00:00
KX_BlenderScalarInterpolator.cpp code cleanup: remove redundant casts 2012-10-14 08:49:01 +00:00
KX_BlenderScalarInterpolator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_BlenderSceneConverter.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_BlenderSceneConverter.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
KX_ConvertActuators.cpp Cleanup: Internal degrees removal. 2013-12-03 20:35:45 +01:00
KX_ConvertActuators.h BGE: Removing an unused rendertools argument from BL_ConvertActuators(). 2013-09-05 04:19:05 +00:00
KX_ConvertControllers.cpp BGE: Some various tweaks to try and get async lib loading to be a bit more stable on more complex scenes. 2012-12-25 08:11:21 +00:00
KX_ConvertControllers.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ConvertProperties.cpp BGE: Committing patch #32422 "Debug properties for added objects" by HG1. 2013-07-09 20:06:36 +00:00
KX_ConvertProperties.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ConvertSensors.cpp Cleanup: Internal degrees removal. 2013-12-03 20:35:45 +01:00
KX_ConvertSensors.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_LibLoadStatus.cpp Fix for building without python. 2013-02-22 15:54:10 +00:00
KX_LibLoadStatus.h BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
KX_SoftBodyDeformer.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_SoftBodyDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SConscript split bge includes for scons onto their own lines (for easier merging) 2013-05-29 21:56:55 +00:00