|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| class | btVector4 |
| struct | btVector3FloatData |
| struct | btVector3DoubleData |
Macros | |
| #define | btVector3Data btVector3FloatData |
| #define | btVector3DataName "btVector3FloatData" |
Functions | |
| SIMD_FORCE_INLINE | btVector3 (const btScalar &_x, const btScalar &_y, const btScalar &_z) |
| Constructor from scalars. | |
| SIMD_FORCE_INLINE btVector3 & | operator+= (const btVector3 &v) |
| Add a vector to this one. | |
| SIMD_FORCE_INLINE btVector3 & | operator-= (const btVector3 &v) |
| Subtract a vector from this one. | |
| SIMD_FORCE_INLINE btVector3 & | operator*= (const btScalar &s) |
| Scale the vector. | |
| SIMD_FORCE_INLINE btVector3 & | operator/= (const btScalar &s) |
| Inversely scale the vector. | |
| SIMD_FORCE_INLINE btScalar | dot (const btVector3 &v) const |
| Return the dot product. | |
| SIMD_FORCE_INLINE btScalar | length2 () const |
| Return the length of the vector squared. | |
| SIMD_FORCE_INLINE btScalar | length () const |
| Return the length of the vector. | |
| SIMD_FORCE_INLINE btScalar | norm () const |
| Return the norm (length) of the vector. | |
| SIMD_FORCE_INLINE btScalar | safeNorm () const |
| Return the norm (length) of the vector. | |
| SIMD_FORCE_INLINE btScalar | distance2 (const btVector3 &v) const |
| Return the distance squared between the ends of this and another vector This is symantically treating the vector like a point. | |
| SIMD_FORCE_INLINE btScalar | distance (const btVector3 &v) const |
| Return the distance between the ends of this and another vector This is symantically treating the vector like a point. | |
| SIMD_FORCE_INLINE btVector3 & | safeNormalize () |
| SIMD_FORCE_INLINE btVector3 & | normalize () |
| Normalize this vector x^2 + y^2 + z^2 = 1. | |
| SIMD_FORCE_INLINE btVector3 | normalized () const |
| Return a normalized version of this vector. | |
| SIMD_FORCE_INLINE btVector3 | rotate (const btVector3 &wAxis, const btScalar angle) const |
| Return a rotated version of this vector. | |
| SIMD_FORCE_INLINE btScalar | angle (const btVector3 &v) const |
| Return the angle between this and another vector. | |
| SIMD_FORCE_INLINE btVector3 | absolute () const |
| Return a vector with the absolute values of each element. | |
| SIMD_FORCE_INLINE btVector3 | cross (const btVector3 &v) const |
| Return the cross product between this and another vector. | |
| SIMD_FORCE_INLINE btScalar | triple (const btVector3 &v1, const btVector3 &v2) const |
| SIMD_FORCE_INLINE int | minAxis () const |
| Return the axis with the smallest value Note return values are 0,1,2 for x, y, or z. | |
| SIMD_FORCE_INLINE int | maxAxis () const |
| Return the axis with the largest value Note return values are 0,1,2 for x, y, or z. | |
| SIMD_FORCE_INLINE int | furthestAxis () const |
| SIMD_FORCE_INLINE int | closestAxis () const |
| SIMD_FORCE_INLINE void | setInterpolate3 (const btVector3 &v0, const btVector3 &v1, btScalar rt) |
| SIMD_FORCE_INLINE btVector3 | lerp (const btVector3 &v, const btScalar &t) const |
| Return the linear interpolation between this and another vector. | |
| SIMD_FORCE_INLINE btVector3 & | operator*= (const btVector3 &v) |
| Elementwise multiply this vector by the other. | |
| SIMD_FORCE_INLINE const btScalar & | getX () const |
| Return the x value. | |
| SIMD_FORCE_INLINE const btScalar & | getY () const |
| Return the y value. | |
| SIMD_FORCE_INLINE const btScalar & | getZ () const |
| Return the z value. | |
| SIMD_FORCE_INLINE void | setX (btScalar _x) |
| Set the x value. | |
| SIMD_FORCE_INLINE void | setY (btScalar _y) |
| Set the y value. | |
| SIMD_FORCE_INLINE void | setZ (btScalar _z) |
| Set the z value. | |
| SIMD_FORCE_INLINE void | setW (btScalar _w) |
| Set the w value. | |
| SIMD_FORCE_INLINE const btScalar & | x () const |
| Return the x value. | |
| SIMD_FORCE_INLINE const btScalar & | y () const |
| Return the y value. | |
| SIMD_FORCE_INLINE const btScalar & | z () const |
| Return the z value. | |
| SIMD_FORCE_INLINE const btScalar & | w () const |
| Return the w value. | |
| SIMD_FORCE_INLINE | operator btScalar * () |
| operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons. | |
| SIMD_FORCE_INLINE | operator const btScalar * () const |
| SIMD_FORCE_INLINE bool | operator== (const btVector3 &other) const |
| SIMD_FORCE_INLINE bool | operator!= (const btVector3 &other) const |
| SIMD_FORCE_INLINE void | setMax (const btVector3 &other) |
| Set each element to the max of the current values and the values of another btVector3. | |
| SIMD_FORCE_INLINE void | setMin (const btVector3 &other) |
| Set each element to the min of the current values and the values of another btVector3. | |
| SIMD_FORCE_INLINE void | setValue (const btScalar &_x, const btScalar &_y, const btScalar &_z) |
| void | getSkewSymmetricMatrix (btVector3 *v0, btVector3 *v1, btVector3 *v2) const |
| void | setZero () |
| SIMD_FORCE_INLINE bool | isZero () const |
| SIMD_FORCE_INLINE bool | fuzzyZero () const |
| SIMD_FORCE_INLINE void | serialize (struct btVector3Data &dataOut) const |
| SIMD_FORCE_INLINE void | deSerialize (const struct btVector3DoubleData &dataIn) |
| SIMD_FORCE_INLINE void | deSerialize (const struct btVector3FloatData &dataIn) |
| SIMD_FORCE_INLINE void | serializeFloat (struct btVector3FloatData &dataOut) const |
| SIMD_FORCE_INLINE void | deSerializeFloat (const struct btVector3FloatData &dataIn) |
| SIMD_FORCE_INLINE void | serializeDouble (struct btVector3DoubleData &dataOut) const |
| SIMD_FORCE_INLINE void | deSerializeDouble (const struct btVector3DoubleData &dataIn) |
| SIMD_FORCE_INLINE long | maxDot (const btVector3 *array, long array_count, btScalar &dotOut) const |
| returns index of maximum dot product between this and vectors in array[] | |
| SIMD_FORCE_INLINE long | minDot (const btVector3 *array, long array_count, btScalar &dotOut) const |
| returns index of minimum dot product between this and vectors in array[] | |
| SIMD_FORCE_INLINE btVector3 | dot3 (const btVector3 &v0, const btVector3 &v1, const btVector3 &v2) const |
| SIMD_FORCE_INLINE btVector3 | operator+ (const btVector3 &v1, const btVector3 &v2) |
| Return the sum of two vectors (Point symantics) | |
| SIMD_FORCE_INLINE btVector3 | operator* (const btVector3 &v1, const btVector3 &v2) |
| Return the elementwise product of two vectors. | |
| SIMD_FORCE_INLINE btVector3 | operator- (const btVector3 &v1, const btVector3 &v2) |
| Return the difference between two vectors. | |
| SIMD_FORCE_INLINE btVector3 | operator- (const btVector3 &v) |
| Return the negative of the vector. | |
| SIMD_FORCE_INLINE btVector3 | operator* (const btVector3 &v, const btScalar &s) |
| Return the vector scaled by s. | |
| SIMD_FORCE_INLINE btVector3 | operator* (const btScalar &s, const btVector3 &v) |
| Return the vector scaled by s. | |
| SIMD_FORCE_INLINE btVector3 | operator/ (const btVector3 &v, const btScalar &s) |
| Return the vector inversely scaled by s. | |
| SIMD_FORCE_INLINE btVector3 | operator/ (const btVector3 &v1, const btVector3 &v2) |
| Return the vector inversely scaled by s. | |
| SIMD_FORCE_INLINE btScalar | btDot (const btVector3 &v1, const btVector3 &v2) |
| Return the dot product between two vectors. | |
| SIMD_FORCE_INLINE btScalar | btDistance2 (const btVector3 &v1, const btVector3 &v2) |
| Return the distance squared between two vectors. | |
| SIMD_FORCE_INLINE btScalar | btDistance (const btVector3 &v1, const btVector3 &v2) |
| Return the distance between two vectors. | |
| SIMD_FORCE_INLINE btScalar | btAngle (const btVector3 &v1, const btVector3 &v2) |
| Return the angle between two vectors. | |
| SIMD_FORCE_INLINE btVector3 | btCross (const btVector3 &v1, const btVector3 &v2) |
| Return the cross product of two vectors. | |
| SIMD_FORCE_INLINE btScalar | btTriple (const btVector3 &v1, const btVector3 &v2, const btVector3 &v3) |
| SIMD_FORCE_INLINE btVector3 | lerp (const btVector3 &v1, const btVector3 &v2, const btScalar &t) |
| Return the linear interpolation between two vectors. | |
| SIMD_FORCE_INLINE void | btSwapScalarEndian (const btScalar &sourceVal, btScalar &destVal) |
| btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization | |
| SIMD_FORCE_INLINE void | btSwapVector3Endian (const btVector3 &sourceVec, btVector3 &destVec) |
| btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization | |
| SIMD_FORCE_INLINE void | btUnSwapVector3Endian (btVector3 &vector) |
| btUnSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization | |
| template<class T > | |
| SIMD_FORCE_INLINE void | btPlaneSpace1 (const T &n, T &p, T &q) |
Variables | |
| btVector3 | |
| btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-byte alignment when btVector3 is stored in containers. This extra component can be used by derived classes (Quaternion?) or by user Ideally, this class should be replaced by a platform optimized SIMD version that keeps the data in registers | |
| btScalar | m_floats [4] |
| #define btVector3Data btVector3FloatData |
Definition at line 27 of file btVector3.h.
Referenced by btSoftBody::serialize().
| #define btVector3DataName "btVector3FloatData" |
Definition at line 28 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 absolute | ( | ) | const |
Return a vector with the absolute values of each element.
Return the matrix with all values non negative.
Definition at line 364 of file btVector3.h.
References btFabs(), btMatrix3x3, btVector3, m_floats, x, y, and z().
Referenced by bpy_blend_paths(), closestAxis(), edbm_normals_tools_exec(), float4_to_half4_display(), float_to_half_display(), and furthestAxis().
| SIMD_FORCE_INLINE btScalar angle | ( | const btVector3 & | v | ) | const |
Return the angle between this and another vector.
| v | The other vector |
Definition at line 356 of file btVector3.h.
References btAcos(), btFullAssert, btSqrt(), dot(), length2(), and v.
| SIMD_FORCE_INLINE btScalar btAngle | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
| SIMD_FORCE_INLINE btVector3 btCross | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the cross product of two vectors.
Definition at line 918 of file btVector3.h.
References v2.
Referenced by btSoftBody::Body::angularVelocity(), btSoftBody::appendDeformableAnchor(), btSoftBody::applyClusters(), AreaOf(), BaryCoord(), btMprVec3Cross(), btSoftBody::clusterDImpulse(), btSoftBody::clusterVelocity(), btSoftBody::clusterVImpulse(), btSoftBody::dampClusters(), DistanceBetweenLines(), btSoftColliders::CollideSDF_RD::DoNode(), btSoftColliders::CollideSDF_RDF::DoNode(), btSoftBodyHelpers::Draw(), GJK< btConvexTemplate >::EncloseOrigin(), gjkepa2_impl::GJK::EncloseOrigin(), EPA< btConvexTemplate >::Evaluate(), gjkepa2_impl::EPA::Evaluate(), btSoftBodyHelpers::extrapolateBarycentricWeights(), EPA< btConvexTemplate >::getedgedist(), gjkepa2_impl::EPA::getedgedist(), btSoftBody::getVolume(), GrahamScanConvexHull2D(), btDeformableMultiBodyDynamicsWorld::integrateTransforms(), btSoftBody::interpolateRenderMesh(), maxdirsterid(), EPA< btConvexTemplate >::newface(), gjkepa2_impl::EPA::newface(), orth(), Orthogonalize(), btSoftBody::AJoint::Prepare(), btDeformableContactProjection::project(), ProjectOrigin(), GJK< btConvexTemplate >::projectorigin(), GJK< btConvexTemplate >::projectorigin(), gjkepa2_impl::GJK::projectorigin(), gjkepa2_impl::GJK::projectorigin(), btSoftBody::RayFromToCaster::rayFromToTriangle(), solve33(), TriNormal(), btSoftBody::updateClusters(), btSoftBody::updateNormals(), and VolumeOf().
| SIMD_FORCE_INLINE btScalar btDistance | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
| SIMD_FORCE_INLINE btScalar btDistance2 | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the distance squared between two vectors.
Definition at line 897 of file btVector3.h.
References v2.
| SIMD_FORCE_INLINE btScalar btDot | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the dot product between two vectors.
Definition at line 890 of file btVector3.h.
References v2.
Referenced by above(), btSoftBody::addAeroForceToFace(), btSoftBody::addAeroForceToNode(), btDeformableFaceRigidContactConstraint::applyImpulse(), btSoftBody::applyRepulsionForce(), btMprVec3Dot(), btSegmentsClosestPoints(), btSoftBody::checkContact(), btDbvtAabbMm::Classify(), DistanceBetweenLines(), btSoftColliders::CollideSDF_RS::DoNode(), btSoftBodyHelpers::Draw(), EPA< btConvexTemplate >::Evaluate(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::EPA::Evaluate(), gjkepa2_impl::GJK::Evaluate(), EvaluateMedium(), EPA< btConvexTemplate >::expand(), gjkepa2_impl::EPA::expand(), btSoftBodyHelpers::getBarycentricWeights(), EPA< btConvexTemplate >::getedgedist(), gjkepa2_impl::EPA::getedgedist(), btSoftBody::getVolume(), leftOfAxis(), btSoftClusterCollisionShape::localGetSupportingVertex(), maxdirfiltered(), EPA< btConvexTemplate >::newface(), gjkepa2_impl::EPA::newface(), PlaneLineIntersection(), PlaneProject(), PlaneTest(), btSoftBody::AJoint::Prepare(), btDbvtAabbMm::ProjectMinimum(), ProjectOnAxis(), ProjectOrigin(), ProjectOrigin(), GJK< btConvexTemplate >::projectorigin(), GJK< btConvexTemplate >::projectorigin(), GJK< btConvexTemplate >::projectorigin(), gjkepa2_impl::GJK::projectorigin(), gjkepa2_impl::GJK::projectorigin(), gjkepa2_impl::GJK::projectorigin(), btSoftBody::PSolve_RContacts(), btSoftBody::PSolve_SContacts(), btSoftBody::RayFromToCaster::rayFromToTriangle(), segmentsClosestPoints(), btSoftBody::AJoint::Solve(), btSoftBody::CJoint::Solve(), solve33(), btDeformableFaceNodeContactConstraint::solveConstraint(), btDeformableNodeAnchorConstraint::solveConstraint(), btDeformableRigidContactConstraint::solveConstraint(), btSoftColliders::ClusterBase::SolveContact(), btDeformableRigidContactConstraint::solveSplitImpulse(), topdown(), VolumeOf(), and btSoftBody::VSolve_Links().
| SIMD_FORCE_INLINE void btPlaneSpace1 | ( | const T & | n, |
| T & | p, | ||
| T & | q ) |
Definition at line 1251 of file btVector3.h.
References btFabs(), btRecipSqrt, and SIMDSQRT12.
Referenced by btManifoldResult::addContactPoint(), btHingeConstraint(), buildJacobian(), capsuleCapsuleDistance(), convertContact(), convertMultiBodyContact(), btIDebugDraw::drawPlane(), getInfo2NonVirtual(), GrahamScanConvexHull2D(), internalSetupContactConstraints(), btConvexConvexAlgorithm::processCollision(), btConvexPlaneCollisionAlgorithm::processCollision(), setAxis(), and shortestArcQuat().
| SIMD_FORCE_INLINE void btSwapScalarEndian | ( | const btScalar & | sourceVal, |
| btScalar & | destVal ) |
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1208 of file btVector3.h.
Referenced by btSwapVector3Endian(), and btUnSwapVector3Endian().
| SIMD_FORCE_INLINE void btSwapVector3Endian | ( | const btVector3 & | sourceVec, |
| btVector3 & | destVec ) |
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1231 of file btVector3.h.
References btSwapScalarEndian().
| SIMD_FORCE_INLINE btScalar btTriple | ( | const btVector3 & | v1, |
| const btVector3 & | v2, | ||
| const btVector3 & | v3 ) |
| SIMD_FORCE_INLINE void btUnSwapVector3Endian | ( | btVector3 & | vector | ) |
btUnSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1240 of file btVector3.h.
References btSwapScalarEndian().
| SIMD_FORCE_INLINE btVector3 | ( | const btScalar & | _x, |
| const btScalar & | _y, | ||
| const btScalar & | _z ) |
Constructor from scalars.
| x | X value |
| y | Y value |
| z | Z value |
Definition at line 126 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE int closestAxis | ( | ) | const |
Definition at line 487 of file btVector3.h.
References absolute().
| SIMD_FORCE_INLINE btVector3 cross | ( | const btVector3 & | v | ) | const |
| SIMD_FORCE_INLINE void deSerialize | ( | const struct btVector3DoubleData & | dataIn | ) |
| SIMD_FORCE_INLINE void deSerialize | ( | const struct btVector3FloatData & | dataIn | ) |
| SIMD_FORCE_INLINE void deSerializeDouble | ( | const struct btVector3DoubleData & | dataIn | ) |
| SIMD_FORCE_INLINE void deSerializeFloat | ( | const struct btVector3FloatData & | dataIn | ) |
| SIMD_FORCE_INLINE btScalar distance | ( | const btVector3 & | v | ) | const |
Return the distance between the ends of this and another vector This is symantically treating the vector like a point.
| SIMD_FORCE_INLINE btScalar btVector3::distance2 | ( | const btVector3 & | v | ) | const |
Return the distance squared between the ends of this and another vector This is symantically treating the vector like a point.
Definition at line 939 of file btVector3.h.
References v.
Referenced by btComputeGjkEpaPenetration(), btGjkPairDetector::getClosestPointsNonVirtual(), inSimplex(), and stepForwardAndStrafe().
| SIMD_FORCE_INLINE btScalar dot | ( | const btVector3 & | v | ) | const |
| SIMD_FORCE_INLINE btVector3 dot3 | ( | const btVector3 & | v0, |
| const btVector3 & | v1, | ||
| const btVector3 & | v2 ) const |
Definition at line 720 of file btVector3.h.
References btVector3, dot(), and v2.
Referenced by move_profile_plane(), and portalReachTolerance().
| SIMD_FORCE_INLINE int furthestAxis | ( | ) | const |
Definition at line 482 of file btVector3.h.
References absolute().
| SIMD_FORCE_INLINE bool fuzzyZero | ( | ) | const |
Definition at line 688 of file btVector3.h.
References length2(), and SIMD_EPSILON.
Referenced by normalize().
| SIMD_FORCE_INLINE const btScalar & getX | ( | ) | const |
| SIMD_FORCE_INLINE const btScalar & getY | ( | ) | const |
| SIMD_FORCE_INLINE const btScalar & getZ | ( | ) | const |
| SIMD_FORCE_INLINE bool isZero | ( | ) | const |
Definition at line 683 of file btVector3.h.
References m_floats.
Referenced by do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), and vpaint_do_draw().
| SIMD_FORCE_INLINE btScalar length | ( | ) | const |
Return the length of the vector.
Definition at line 257 of file btVector3.h.
References btSqrt(), and length2().
Referenced by blender::length_parameterize::accumulate_lengths(), blender::nodes::node_geo_curve_spline_parameter_cc::accumulated_lengths_curve_domain(), btSoftBody::appendLink(), base_callback(), blender::gpu::MTLComputeState::bind_compute_bytes(), blender::gpu::MTLRenderPassState::bind_fragment_bytes(), blender::gpu::MTLRenderPassState::bind_vertex_bytes(), BKE_attributes_length(), BKE_icon_geom_invert_lightness(), BKE_nurb_calc_length(), BKE_pchan_bbone_handles_compute(), BLI_mmap_open(), blo_do_versions_pre250(), bm_edge_info_average_length_with_fallback(), bone_align_to_bone(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), brush_puff(), btAdjustInternalEdgeContacts(), btComputeGjkEpaPenetration(), btContinuousConvexCollision::calcTimeOfImpact(), blender::bke::curves::bezier::calculate_aligned_handle(), calculate_point_length(), BVHUnaligned::compute_aligned_space(), blender::ed::sculpt_paint::ScaleCurvesEffect::compute_poly_curve_length(), blender::geometry::curve_constraints::compute_segment_lengths(), IK_QPositionTask::ComputeJacobian(), convert_tree(), blender::nodes::node_geo_curve_sample_cc::curve_accumulated_lengths(), btSoftBody::defaultCollisionHandler(), blender::math::distance(), distance(), distance(), do_kink(), draw_axes(), draw_bone_update_disp_matrix_bbone(), drawArrow(), drw_shgroup_uniform_create_ex(), blender::gpu::MTLVertBuf::duplicate_data(), ED_armature_ebone_add_primitive(), ED_buttons_tabs_list(), ED_node_tree_path_length(), ED_select_similar_compare_float_tree(), blender::imbuf::transform::edge_aa(), blender::gpu::MTLContext::ensure_buffer_bindings(), blender::gpu::MTLContext::ensure_buffer_bindings(), execute_posetree(), execute_scene(), export_hair_curves(), iTaSC::Armature::finalize(), blender::ed::greasepencil::find_curve_intersections(), blender::math::float_to_half_array(), blender::math::from_vector(), get_fcurves_of_property(), get_limit_motor_info2(), blender::animrig::get_rna_values(), getAngularMotionDisc(), getBoundingSphere(), btGjkPairDetector::getClosestPointsNonVirtual(), Freestyle::ViewEdge::getLength2D(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), blender::nodes::node_geo_curve_to_points_cc::grease_pencil_to_points(), hair_create_input_mesh(), blender::math::half_to_float_array(), handle_app1(), hash_shuffle_uint(), blender::gpu::IndexBuf::init_subrange(), initialize2(), InputCustomRatioFlip(), line_directive(), BlenderPointDensityLoader::load_pixels(), BlenderSmokeLoader::load_pixels(), blender::gpu::MTLPixelBuffer::map(), MOD_solidify_nonmanifold_modifyMesh(), nlaevalchan_blend_value(), nlaevalchan_blend_value_get_inverted_lower_evalchan(), nlaevalchan_blend_value_get_inverted_upper_evalchan(), nlaevalchan_combine_value(), nlaevalchan_combine_value_get_inverted_lower_evalchan(), nlaevalchan_combine_value_get_inverted_upper_evalchan(), nlaevalchan_get_default_values(), nlaevalchan_snapshot_new(), nlaevalchan_verify_key(), nlastrip_get_frame_transition(), norm(), Normalize(), normalize(), blender::ed::sculpt_paint::paint_line_strokes_spacing(), blender::ed::sculpt_paint::paint_space_stroke(), blender::ed::sculpt_paint::paint_space_stroke_spacing_variable(), btSoftColliders::CollideVF_SS::Process(), btConnectivityProcessor::processTriangle(), GJK< btConvexTemplate >::projectorigin(), gjkepa2_impl::GJK::projectorigin(), prop_subscript_ass_array_slice__bool_recursive(), prop_subscript_ass_array_slice__float_recursive(), prop_subscript_ass_array_slice__int_recursive(), psys_cache_paths(), PyC_AsArray_FAST(), PyC_AsArray_Multi_FAST_impl(), pygpu_shader_uniform_bool(), pygpu_shader_uniform_float(), pygpu_shader_uniform_int(), pygpu_shader_uniform_vector_float(), pygpu_shader_uniform_vector_int(), Quaternion_rotate(), btSoftBody::resetLinkRestLengths(), RNA_def_property_array(), rna_iterator_array_begin(), RNA_property_as_string(), RNA_property_collection_length(), RNA_property_string_get_alloc(), RNA_property_string_get_default_alloc(), set_device_override_func(), blender::bke::greasepencil::Drawing::set_texture_matrices(), IK_QSegment::SetTransform(), btGjkEpaSolver2::SignedDistance(), SIM_mass_spring_force_edge_wind(), SIM_mass_spring_force_spring_bending(), SIM_mass_spring_force_spring_goal(), SIM_mass_spring_force_spring_linear(), blender::ed::greasepencil::snap_8_angles(), blender::ed::greasepencil::snap_diagonals(), blender::bke::mesh::split_corner_normal_fan_do(), spring_grad_dir(), blender::math::tests::TEST(), time_human_readable_to_seconds(), blender::math::to_scale(), blender::math::to_scale(), blender::nodes::try_dispatch_float_math_fl3_to_fl(), txt_sel_to_buf(), ui_but_get_pasted_text_from_clipboard(), unit_as_string_main(), blender::bke::greasepencil::update_curve_plane_normal_cache(), blender::compositor::KuwaharaAnisotropicOperation::update_memory_buffer_partial(), and blender::math::whitepoint_to_temp_tint().
| SIMD_FORCE_INLINE btScalar length2 | ( | ) | const |
Return the length of the vector squared.
Definition at line 251 of file btVector3.h.
References dot().
Referenced by angle(), ApplyClampedForce(), btConvex2dConvex2dAlgorithm::calculateTimeOfImpact(), btConvexConvexAlgorithm::calculateTimeOfImpact(), btSoftBodyConcaveCollisionAlgorithm::calculateTimeOfImpact(), createPredictiveContactsInternal(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), btTriangleMesh::findOrAddVertex(), fuzzyZero(), btSoftBody::generateClusters(), get_limit_motor_info2(), integrateTransformsInternal(), internalSetupContactConstraints(), length(), btAngleCompareFunc::operator()(), btConnectivityProcessor::processTriangle(), safeNorm(), safeNormalize(), setOptimizedBvh(), stepForwardAndStrafe(), btRigidBody::updateDeactivation(), and btCollisionWorld::updateSingleAabb().
| SIMD_FORCE_INLINE btVector3 lerp | ( | const btVector3 & | v, |
| const btScalar & | t ) const |
Return the linear interpolation between this and another vector.
| v | The other vector |
| t | The ration of this to v (t = 0 => return this, t=1 => return other) |
Definition at line 521 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 lerp | ( | const btVector3 & | v1, |
| const btVector3 & | v2, | ||
| const btScalar & | t ) |
Return the linear interpolation between two vectors.
| v1 | One vector |
| v2 | The other vector |
| t | The ration of this to v (t = 0 => return v1, t=1 => return v2) |
Definition at line 934 of file btVector3.h.
References v2.
| SIMD_FORCE_INLINE int maxAxis | ( | ) | const |
Return the axis with the largest value Note return values are 0,1,2 for x, y, or z.
Definition at line 477 of file btVector3.h.
References m_floats.
Referenced by btConvexHullInternal::compute(), btConvexHullInternal::getCoordinates(), and btConvexHullInternal::shrink().
| SIMD_FORCE_INLINE long btVector3::maxDot | ( | const btVector3 * | array, |
| long | array_count, | ||
| btScalar & | dotOut ) const |
returns index of maximum dot product between this and vectors in array[]
| array | The other vectors |
| array_count | The number of other vectors |
| dotOut | The maximum dot product |
Definition at line 998 of file btVector3.h.
References dot(), m_floats, and SIMD_INFINITY.
Referenced by convexHullSupport(), FindMaxSeparation(), and localGetSupportVertexWithoutMarginNonVirtual().
| SIMD_FORCE_INLINE int minAxis | ( | ) | const |
Return the axis with the smallest value Note return values are 0,1,2 for x, y, or z.
Definition at line 470 of file btVector3.h.
References m_floats.
Referenced by btConvexHullInternal::compute(), btConvexHullInternal::getCoordinates(), and btConvexHullInternal::shrink().
| SIMD_FORCE_INLINE long btVector3::minDot | ( | const btVector3 * | array, |
| long | array_count, | ||
| btScalar & | dotOut ) const |
returns index of minimum dot product between this and vectors in array[]
| array | The other vectors |
| array_count | The number of other vectors |
| dotOut | The minimum dot product |
Definition at line 1033 of file btVector3.h.
References dot(), m_floats, minDot(), and SIMD_INFINITY.
Referenced by EdgeSeparation(), FindIncidentEdge(), and minDot().
| SIMD_FORCE_INLINE btScalar norm | ( | ) | const |
Return the norm (length) of the vector.
Definition at line 263 of file btVector3.h.
References length().
Referenced by add_node(), Freestyle::SteerableViewMap::AddFEdge(), axisProjection(), bevel_harden_normals(), bindVert(), bsdf_ashikhmin_shirley_eval(), buildHull(), C_Matrix_OrthoProjection(), C_Matrix_Scale(), btMinkowskiPenetrationDepthSolver::calcPenDepth(), compute_face_normal(), Mesh::Triangle::compute_normal(), computeConeLimitInfo(), Freestyle::GaussianFilter::computeMask(), Freestyle::createStroke(), damptrack_do_transform(), deformVert(), eff_calc_visibility(), libmv::euclidean_resection::EuclideanResectionPPnP(), blender::math::AngleCartesianBase< T >::from_point(), Freestyle::WFace::getArea(), GetPointForAngle(), Freestyle::SteerableViewMap::getSVMNumber(), KDL::Rotation::GetXZRot(), Freestyle::GeomUtils::intersectRayPlane(), Freestyle::NodeTransform::isScaled(), Freestyle::Controller::LoadMesh(), M_Noise_random_unit_vector(), libmv::Dogleg< Function, Jacobian, Solver >::minimize(), minimize(), normalize(), libmv::NormalizeL1(), libmv::NormalizeL2(), libmv::NormalizeLInfinity(), btVectorX< T >::nrm2(), blender::ed::object::bake_simulation::PathStringHash::operator()(), Freestyle::epsilonEquals::operator()(), blender::geometry::p_abf_compute_gradient(), blender::geometry::p_chart_abf_solve(), btDeformableBodySolver::predictDeformableMotion(), Freestyle::FEdgeXDetector::processShapes(), Freestyle::SphericalGrid::Iterator::reportDepth(), Freestyle::NodeTransform::Rotate(), IK_QJacobianSolver::Solve(), btConjugateResidual< MatrixX >::solve(), iTaSC::WDLSSolver::solve(), iTaSC::WSDLSSolver::solve(), btSoftColliders::ClusterBase::SolveContact(), libmv::SolveCubicPolynomial(), splineik_evaluate_bone(), mv::TEST(), mv::TEST(), mv::TEST(), mv::TEST(), mv::TEST(), mv::TEST(), transform_decompose(), iTaSC::Armature::updateJoint(), Freestyle::Stroke::UpdateLength(), blender::write_stroke_transforms(), Freestyle::AppView::zfar(), and Freestyle::AppView::znear().
| SIMD_FORCE_INLINE btVector3 & normalize | ( | ) |
Normalize this vector x^2 + y^2 + z^2 = 1.
Definition at line 303 of file btVector3.h.
References btAssert, fuzzyZero(), length(), and z().
Referenced by __anyhit__kernel_optix_local_hit(), Mesh::add_face_normals(), add_node(), Mesh::add_vertex_normals(), Mesh::apply_transform(), area_light_spread_clamp_light(), attr_create_pointiness(), blender::math::AxisAngleBase< T, AngleT >::AxisAngleBase(), background_portal_sample(), bake_offset_towards_center(), blender_camera_focal_distance(), bsdf_ashikhmin_shirley_eval(), bsdf_ashikhmin_velvet_eval(), bsdf_ashikhmin_velvet_sample(), bsdf_hair_huang_eval_r(), bsdf_hair_reflection_eval(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval(), bsdf_hair_transmission_sample(), bsdf_sheen_sample(), camera_direction_from_point(), camera_sample_orthographic(), camera_sample_panorama(), camera_sample_perspective(), camera_world_to_ndc(), compute_v(), CubeTriangleIsect::CubeTriangleIsect(), GeometryManager::displace(), equiangular_cubemap_face_to_direction(), BicubicPatch::eval(), LinearQuadPatch::eval(), blender::math::from_triangle(), blender::math::from_vector(), get_dupliface_transform_from_coords(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::get_legacy_stroke_matrix(), blender::bke::greasepencil::get_local_to_stroke_matrix(), integrate_surface_bsdf_bssrdf_bounce(), integrator_init_from_bake(), blender::math::interpolate(), kernel_embree_filter_occluded_local_func_impl(), light_tree_pdf(), light_tree_to_local_space(), make_orthonormals(), make_orthonormals_tangent(), make_transform_frame(), microfacet_beckmann_sample_vndf(), microfacet_ggx_sample_vndf(), motion_triangle_normals(), motion_triangle_shader_setup(), NODE_DEFINE(), blender::nodes::node_shader_tex_noise_cc::node_shader_gpu_tex_noise(), blender::nodes::node_shader_tex_voronoi_cc::node_shader_gpu_tex_voronoi(), noise_fbm(), noise_fbm(), noise_fbm(), noise_fbm(), noise_select(), noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), noise_texture_4d(), blender::math::normal_tri(), object_normal_transform(), object_volume_density(), blender::math::orthogonalize(), orthogonalize_m3_stable(), orthogonalize_m4_stable(), orthogonalize_stable(), blender::noise::perlin_fbm(), blender::noise::perlin_float3_fractal_distorted(), blender::noise::perlin_float3_fractal_distorted(), blender::noise::perlin_float3_fractal_distorted(), blender::noise::perlin_float3_fractal_distorted(), blender::noise::perlin_fractal_distorted(), blender::noise::perlin_select(), point_light_intersect(), point_light_mnee_sample_update(), point_light_sample(), point_light_sample_from_intersection(), blender::math::pow(), primitive_motion_vector(), primitive_tangent(), quat_interpolate(), blender::eevee::IrradianceBake::raylists_build(), blender::io::usd::USDLightReader::read_object_data(), blender::nodes::node_geo_rotate_instances_cc::rotate_instances(), blender::eevee::PlanarProbe::set_view(), blender::ed::greasepencil::snap_8_angles(), spherical_stereo_transform(), spot_light_mnee_sample_update(), spot_light_sample(), spot_light_sample_from_intersection(), surface_shader_ao(), surface_shader_average_normal(), blender::eevee::IrradianceBake::surfels_create(), svm_node_camera(), svm_node_closure_bsdf(), svm_node_ies(), svm_node_normal(), svm_node_set_bump(), svm_node_tangent(), svm_node_tex_gabor(), svm_node_tex_noise(), svm_node_tex_voronoi(), svm_node_vector_displacement(), svm_node_vector_transform(), blender::math::tests::TEST(), blender::math::tests::TEST(), blender::math::tests::TEST(), blender::math::tests::TEST(), blender::math::tests::TEST(), blender::math::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::bke::tests::test_vec_roll_to_mat3_normalized(), blender::math::to_dual_quaternion(), blender::math::to_quaternion_legacy(), transform_clear_scale(), transform_rotate(), triangle_normal(), triangle_point_normal(), blender::nodes::try_dispatch_float_math_fl3_fl3_fl_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_to_fl3(), blender::bke::pbvh::uv_islands::UVBorderCorner::uv(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), blender::math::whitepoint_from_temp_tint(), and Camera::world_to_raster_size().
| SIMD_FORCE_INLINE btVector3 normalized | ( | ) | const |
Return a normalized version of this vector.
Referenced by btDeformableMassSpringForce::addScaledDampingForce(), btDeformableMousePickingForce::addScaledDampingForce(), btDeformableMassSpringForce::addScaledDampingForceDifferential(), btDeformableMousePickingForce::addScaledDampingForceDifferential(), btDeformableMassSpringForce::buildDampingForceDifferentialDiagonal(), blender::compositor::PlaneDistortBaseOperation::calculate_corners(), blender::compositor::PlaneDistortWarpImageOperation::calculate_corners(), GeometryExporter::create_normals(), btSoftBodyHelpers::DrawFrame(), libmv::GetR_FixedCameraCenter(), libmv::InvertBrownDistortionModel(), libmv::InvertDivisionDistortionModel(), libmv::InvertPolynomialDistortionModel(), slim::local_basis(), blender::gpu::mtl_convert_vertex_format(), normalized_relative_to_libmv_frame(), normalized_to_libmv_frame(), setupPlanar(), and btDeformableMousePickingForce::totalDampingEnergy().
| SIMD_FORCE_INLINE operator btScalar * | ( | ) |
operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
Definition at line 586 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE operator const btScalar * | ( | ) | const |
Definition at line 587 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE bool operator!= | ( | const btVector3 & | other | ) | const |
Definition at line 601 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator* | ( | const btScalar & | s, |
| const btVector3 & | v ) |
| SIMD_FORCE_INLINE btVector3 operator* | ( | const btVector3 & | v, |
| const btScalar & | s ) |
Return the vector scaled by s.
Definition at line 820 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator* | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the elementwise product of two vectors.
Definition at line 770 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 & operator*= | ( | const btScalar & | s | ) |
Scale the vector.
| s | Scale factor |
Definition at line 191 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE btVector3 & operator*= | ( | const btVector3 & | v | ) |
Elementwise multiply this vector by the other.
| v | The other vector |
Definition at line 546 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator+ | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the sum of two vectors (Point symantics)
Definition at line 754 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 & operator+= | ( | const btVector3 & | v | ) |
Add a vector to this one.
| The | vector to add to this one |
Definition at line 159 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator- | ( | const btVector3 & | v | ) |
Return the negative of the vector.
Definition at line 806 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator- | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
Return the difference between two vectors.
Definition at line 786 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 & operator-= | ( | const btVector3 & | v | ) |
Subtract a vector from this one.
| The | vector to subtract |
Definition at line 175 of file btVector3.h.
| SIMD_FORCE_INLINE btVector3 operator/ | ( | const btVector3 & | v, |
| const btScalar & | s ) |
Return the vector inversely scaled by s.
Definition at line 843 of file btVector3.h.
References btFullAssert, btVector3, and v.
| SIMD_FORCE_INLINE btVector3 operator/ | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) |
| SIMD_FORCE_INLINE btVector3 & operator/= | ( | const btScalar & | s | ) |
Inversely scale the vector.
| s | Scale factor to divide by |
Definition at line 209 of file btVector3.h.
References btFullAssert.
| SIMD_FORCE_INLINE bool operator== | ( | const btVector3 & | other | ) | const |
Definition at line 589 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE btVector3 rotate | ( | const btVector3 & | wAxis, |
| const btScalar | angle ) const |
Return a rotated version of this vector.
| wAxis | The axis to rotate about |
| angle | The angle to rotate by |
| SIMD_FORCE_INLINE btScalar safeNorm | ( | ) | const |
Return the norm (length) of the vector.
Definition at line 269 of file btVector3.h.
References btSqrt(), length2(), and SIMD_EPSILON.
Referenced by btDeformableFaceRigidContactConstraint::applyImpulse(), computeAccelerationsArticulatedBodyAlgorithmMultiDof(), and btMultiBodySliderConstraint::createConstraintRows().
| SIMD_FORCE_INLINE btVector3 & safeNormalize | ( | ) |
Definition at line 286 of file btVector3.h.
References btSqrt(), length2(), setValue(), and SIMD_EPSILON.
Referenced by calculateNormalCone().
| SIMD_FORCE_INLINE void serialize | ( | struct btVector3Data & | dataOut | ) | const |
| SIMD_FORCE_INLINE void serializeDouble | ( | struct btVector3DoubleData & | dataOut | ) | const |
| SIMD_FORCE_INLINE void serializeFloat | ( | struct btVector3FloatData & | dataOut | ) | const |
| SIMD_FORCE_INLINE void setInterpolate3 | ( | const btVector3 & | v0, |
| const btVector3 & | v1, | ||
| btScalar | rt ) |
Definition at line 492 of file btVector3.h.
References m_floats.
| SIMD_FORCE_INLINE void setMax | ( | const btVector3 & | other | ) |
Set each element to the max of the current values and the values of another btVector3.
| other | The other btVector3 to compare with |
Definition at line 609 of file btVector3.h.
References btSetMax(), and m_floats.
| SIMD_FORCE_INLINE void setMin | ( | const btVector3 & | other | ) |
Set each element to the min of the current values and the values of another btVector3.
| other | The other btVector3 to compare with |
Definition at line 626 of file btVector3.h.
References btSetMin(), and m_floats.
| SIMD_FORCE_INLINE void setValue | ( | const btScalar & | _x, |
| const btScalar & | _y, | ||
| const btScalar & | _z ) |
Definition at line 640 of file btVector3.h.
References m_floats.
Referenced by safeNormalize(), and setZero().
| SIMD_FORCE_INLINE void setW | ( | btScalar | _w | ) |
| SIMD_FORCE_INLINE void setX | ( | btScalar | _x | ) |
| SIMD_FORCE_INLINE void setY | ( | btScalar | _y | ) |
| SIMD_FORCE_INLINE void setZ | ( | btScalar | _z | ) |
| void setZero | ( | ) |
Definition at line 671 of file btVector3.h.
References setValue().
| SIMD_FORCE_INLINE btScalar triple | ( | const btVector3 & | v1, |
| const btVector3 & | v2 ) const |
Definition at line 419 of file btVector3.h.
References m_floats, T, V, v2, and z().
Referenced by calculatePrincipalAxisTransform(), and getClipboardImageDibV5().
| SIMD_FORCE_INLINE const btScalar & w | ( | ) | const |
| SIMD_FORCE_INLINE const btScalar & x | ( | ) | const |
Return the x value.
Definition at line 575 of file btVector3.h.
References m_floats.
Referenced by getSkewSymmetricMatrix(), and operator/().
| SIMD_FORCE_INLINE const btScalar & y | ( | ) | const |
Return the y value.
Definition at line 577 of file btVector3.h.
References m_floats.
Referenced by getSkewSymmetricMatrix(), and operator/().
| SIMD_FORCE_INLINE const btScalar & z | ( | ) | const |
Return the z value.
Definition at line 579 of file btVector3.h.
References m_floats.
Referenced by dot(), getSkewSymmetricMatrix(), normalize(), and triple().
| SIMD_FORCE_INLINE btVector3 |
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-byte alignment when btVector3 is stored in containers. This extra component can be used by derived classes (Quaternion?) or by user Ideally, this class should be replaced by a platform optimized SIMD version that keeps the data in registers
No initialization constructor.
Definition at line 81 of file btVector3.h.
Referenced by absolute(), btPerturbedContactResult::addContactPoint(), btDeformableLinearElasticityForce::addScaledDampingForce(), btDeformableNeoHookeanForce::addScaledDampingForce(), btDeformableLinearElasticityForce::addScaledDampingForceDifferential(), btDeformableNeoHookeanForce::addScaledDampingForceDifferential(), btDeformableCorotatedForce::addScaledElasticForce(), btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableMassSpringForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), btDeformableLinearElasticityForce::addScaledElasticForceDifferential(), btDeformableMassSpringForce::addScaledElasticForceDifferential(), btDeformableMousePickingForce::addScaledElasticForceDifferential(), btDeformableNeoHookeanForce::addScaledElasticForceDifferential(), btDeformableLinearElasticityForce::addScaledHessian(), btClosestNotMeConvexResultCallback::addSingleResult(), btSoftBody::Body::angularVelocity(), btSoftBody::Body::angularVelocity(), DeformableContactConstraint::append(), BaryCoord(), bt_calc_quantization_parameters(), btAabbSupport(), btAdjustInternalEdgeContacts(), btAxisSweep3Internal< BP_FP_INT_TYPE >::btAxisSweep3Internal(), btConeTwistConstraint(), btConvexHullShape(), btDeformableMultiBodyDynamicsWorld::btDeformableMultiBodyDynamicsWorld(), btDiscoverPortal(), btFindPenetr(), btFindPenetrTouch(), btFindPos(), btGenerateInternalEdgeInfo(), btGjkEpaSolver3_Distance(), btGjkEpaSolver3_Penetration(), btHinge2Constraint(), btJacobianEntry(), btSoftBody::btSoftBody(), btSoftMultiBodyDynamicsWorld::btSoftMultiBodyDynamicsWorld(), btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(), btTransformAabb(), btTransformAabb(), btTriangleMesh::btTriangleMesh(), btUniversalConstraint(), btSparseSdf< CELLSIZE >::BuildCell(), KKTPreconditioner::buildDiagonalA(), buildHull(), buildJacobian(), calcAngleInfo2(), btGjkEpaPenetrationDepthSolver::calcPenDepth(), btMinkowskiPenetrationDepthSolver::calcPenDepth(), btContinuousConvexCollision::calcTimeOfImpact(), btSubsimplexConvexCast::calcTimeOfImpact(), btDeformableBackwardEulerObjective::calculateContactForce(), btTransformUtil::calculateDiffAxisAngle(), btTransformUtil::calculateDiffAxisAngleQuaternion(), btGImpactCompoundShape::calculateLocalInertia(), btGImpactMeshShape::calculateLocalInertia(), btGImpactMeshShapePart::calculateLocalInertia(), calculateLocalInertia(), calculateTemporalAabb(), btSoftBodyConcaveCollisionAlgorithm::calculateTimeOfImpact(), btSoftBody::checkDeformableFaceContact(), btDbvtAabbMm::Classify(), btPolyhedralContactClipping::clipFaceAgainstHull(), computeConeLimitInfo(), btRigidBody::computeGyroscopicImpulseImplicit_World(), computeTwistLimitInfo(), convertJoint(), btMultiBodySphericalJointMotor::createConstraintRows(), btCollisionWorldImporter::createCylinderShapeX(), btCollisionWorldImporter::createCylinderShapeY(), btCollisionWorldImporter::createCylinderShapeZ(), btSoftBodyHelpers::CreateEllipsoid(), btSoftBodyHelpers::CreateFromTriMesh(), createPredictiveContactsInternal(), Cross(), cross(), btRaycastVehicle::debugDraw(), debugDrawAllBatches(), debugDrawConstraint(), btCollisionWorld::debugDrawWorld(), btSoftBody::defaultCollisionHandler(), Diagonal(), Diagonal(), btGjkEpaSolver2::Distance(), btSoftColliders::CollideSDF_RS::DoNode(), dot3(), btSoftBodyHelpers::Draw(), btIDebugDraw::drawAabb(), btIDebugDraw::drawBox(), btIDebugDraw::drawBox(), drawBox(), btSoftBodyHelpers::DrawClusterTree(), btSoftBodyHelpers::DrawFaceTree(), btSoftBodyHelpers::DrawFrame(), btSoftBodyHelpers::DrawNodeTree(), btIDebugDraw::drawTransform(), drawVertex(), GJK< btConvexTemplate >::EncloseOrigin(), gjkepa2_impl::GJK::EncloseOrigin(), btSparseSdf< CELLSIZE >::Evaluate(), EPA< btConvexTemplate >::Evaluate(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::EPA::Evaluate(), gjkepa2_impl::GJK::Evaluate(), EvaluateMedium(), extractRotation(), fillContactJacobianMultiDof(), fillMultiBodyConstraint(), findMaxDynamicConstraintExtent(), btDbvtAabbMm::FromCR(), generateUnitOrthogonalVector(), btSoftBodyCollisionShape::getAabb(), getAabbNonVirtual(), btConeShapeX::getAnisotropicRollingFrictionDirection(), btConeShapeZ::getAnisotropicRollingFrictionDirection(), getAnisotropicRollingFrictionDirection(), btQuaternion::getAxis(), getBaseOmega(), getBaseVel(), btDbvtBroadphase::getBroadphaseAabb(), getColumn(), btDeformableNodeAnchorConstraint::getDv(), btDeformableStaticConstraint::getDv(), btActionInterface::getFixedBody(), btSoftBody::getLinearVelocity(), btMinkowskiPenetrationDepthSolver::getPenetrationDirections(), getPlane(), btDeformableRigidContactConstraint::getSplitVa(), getUnitSpherePoints(), getUpAxisDirections(), btDeformableNodeAnchorConstraint::getVa(), btDeformableRigidContactConstraint::getVa(), btDeformableStaticConstraint::getVa(), btDeformableStaticConstraint::getVb(), getVertex(), gim_get_point_inertia(), gim_inertia_add_transformed(), HullDesc::HullDesc(), btSoftBody::initDefaults(), EPA< btConvexTemplate >::Initialize(), GJK< btConvexTemplate >::Initialize(), gjkepa2_impl::EPA::Initialize(), gjkepa2_impl::GJK::Initialize(), gjkepa2_impl::Initialize(), Initialize(), btSoftBody::initializeClusters(), initSolverBody(), btMiniSDF::interpolate(), lerp(), btSoftBody::Body::linearVelocity(), localDirToWorld(), localGetSupportingVertex(), localGetSupportingVertexWithoutMargin(), localGetSupportVertexWithoutMarginNonVirtual(), localPosToWorld(), make_constraint_transforms(), btDeformableBackwardEulerObjective::multiply(), MyIntersect(), NormalizeAny(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/(), orth(), OuterProduct(), OuterProduct(), outerProduct(), btGjkEpaSolver2::Penetration(), performConvexcast(), performRaycast(), btSoftBody::predictMotion(), btSoftBody::CJoint::Prepare(), btCompoundLeafCallback::Process(), btCompoundLeafCallback::ProcessChildShape(), btSoftColliders::CollideCL_RS::ProcessColObj(), proximityTest(), btSoftBody::PSolve_RContacts(), quatRotate(), RB_body_apply_central_force(), RB_body_new(), RB_body_set_angular_factor(), RB_body_set_angular_velocity(), RB_body_set_linear_factor(), RB_body_set_linear_velocity(), RB_body_set_loc_rot(), RB_body_set_scale(), RB_compound_add_child_shape(), RB_constraint_new_point(), RB_dworld_set_gravity(), RB_shape_new_box(), RB_shape_new_cylinder(), RB_shape_new_trimesh(), RB_shape_trimesh_update(), RB_world_convex_sweep_test(), btConvexInternalAabbCachingShape::recalcLocalAabb(), btPolyhedralConvexAabbCachingShape::recalcLocalAabb(), recalculateLocalAabb(), btDeformableBodySolver::reinitialize(), reportRayOverlappingNodex(), resolveSingleCollision(), ScaleAlongAxis(), btSoftBody::setCollisionQuadrature(), btDeformableContactProjection::setLagrangeMultiplier(), setLowerLimit(), setLowerLimit(), btSoftBody::setPose(), btDeformableContactProjection::setProjection(), setQuantizationValues(), setupContactConstraint(), setupFixed(), setupFrictionConstraint(), setupMultiBodyContactConstraint(), setupMultiBodyTorsionalFrictionConstraint(), setUpperLimit(), setUpperLimit(), setupSpatialGridBatchesMt(), setupTorsionalFrictionConstraint(), setUpVector(), btGjkEpaSolver2::SignedDistance(), btDeformableFaceNodeContactConstraint::solveConstraint(), btDeformableRigidContactConstraint::solveConstraint(), solveConstraintObsolete(), btSoftBody::solveConstraints(), btEigen::system(), btReducedVector::testAdd(), testContainment(), btDeformableLagrangianForce::testDerivative(), btReducedVector::testDot(), btDeformableLagrangianForce::testHessian(), btReducedVector::testMinus(), btReducedVector::testMultiply(), topdown(), btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager(), TriNormal(), btDbvt::update(), btDbvt::update(), btSoftBody::updateBounds(), updateBvhNodes(), btSoftBody::updateClusters(), btSoftBody::updateDeformation(), btSoftBody::updateFace(), btRaycastVehicle::updateFriction(), btSoftBody::updateNode(), btSoftBody::updatePose(), VolumeOf(), worldDirToLocal(), and worldPosToLocal().
| btScalar m_floats[4] |
Definition at line 111 of file btVector3.h.
Referenced by absolute(), btVector4::absolute4(), btQuadWord(), btQuadWord(), btVector3(), btVector4::btVector4(), cross(), btQuaternion::deSerialize(), btQuaternion::deSerialize(), btQuaternion::deSerializeDouble(), btQuaternion::deSerializeFloat(), btQuaternion::dot(), dot(), btQuaternion::getAngle(), btQuaternion::getAngleShortestPath(), btQuaternion::getAxis(), btQuaternion::getEulerZYX(), btQuaternion::getW(), btVector4::getW(), getX(), getY(), getZ(), btQuaternion::inverse(), isZero(), lerp(), maxAxis(), btVector4::maxAxis4(), maxDot(), minAxis(), btVector4::minAxis4(), minDot(), operator btScalar *(), operator const btScalar *(), btQuaternion::operator*(), btQuaternion::operator*=(), btQuaternion::operator*=(), operator*=(), operator*=(), btQuaternion::operator+=(), operator+=(), btQuaternion::operator-=(), operator-=(), operator==(), operator==(), btQuaternion::serialize(), btQuaternion::serializeDouble(), btQuaternion::serializeFloat(), setInterpolate3(), setMax(), setMax(), setMin(), setMin(), btVector4::setValue(), setValue(), setValue(), setW(), setX(), setY(), setZ(), btQuaternion::slerp(), triple(), w(), x(), y(), and z().