|
Blender V4.5
|
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(), btVector3, and m_floats.
Referenced by uiLayout::absolute_block(), 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().
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(), this, 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_blend_stroke().
| 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(), blender::geometry::add_curves_on_mesh(), iTaSC::Cache::addCacheItem(), iTaSC::Cache::addCacheVectorIfDifferent(), blender::gpu::MTLBufferPool::allocate_aligned_with_data(), annotation_stroke_arrow_calc_points_segment(), btSoftBody::appendLink(), apply_lengths_iter(), arrayModifier_doArray(), base_callback(), bevel_build_cutoff(), blender::gpu::MTLVertBuf::bind(), blender::gpu::MTLComputeState::bind_compute_bytes(), blender::gpu::MTLRenderPassState::bind_fragment_bytes(), blender::gpu::MTLRenderPassState::bind_vertex_bytes(), BKE_attribute_search_for_write(), BKE_attributes_length(), BKE_icon_geom_invert_lightness(), BKE_nurb_calc_length(), BKE_pchan_bbone_handles_compute(), BKE_pchan_bbone_spline_compute(), BLI_current_working_dir(), BLI_mmap_open(), BLI_mmap_read(), blo_do_versions_pre250(), bm_edge_info_average_length_with_fallback(), BM_vert_calc_median_tagged_edge_length(), bmo_inset_region_exec(), boid_body(), bone_align_to_bone(), BPy_IDArray_getbuffer(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), brush_puff(), btAdjustInternalEdgeContacts(), btComputeGjkEpaPenetration(), blender::geometry::calc_position_without_interpolation(), btContinuousConvexCollision::calcTimeOfImpact(), blender::bke::curves::bezier::calculate_aligned_handle(), calculate_point_length(), blender::animrig::Channelbag::channel_group_create(), color_clamp_index(), blender::opensubdiv::compile_eval_patches_shader(), blender::opensubdiv::compile_eval_stencil_shader(), compile_shader_program(), 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_primitive_line_cc::create_direction_line_curve(), blender::nodes::node_geo_curve_sample_cc::curve_accumulated_lengths(), debugDrawConstraint(), btSoftBody::defaultCollisionHandler(), dfdx_spring(), blender::math::distance(), distance(), distance(), distribute_simple_children(), do_kink(), do_path_effectors(), draw_axes(), draw_bone_update_disp_matrix_bbone(), blender::ed::transform::drawArrow(), ED_armature_ebone_add_primitive(), ED_node_tree_path_length(), ED_select_similar_compare_float_tree(), blender::imbuf::transform::edge_aa(), edge_wind_vertex(), blender::gpu::MTLContext::ensure_buffer_bindings(), blender::gpu::MTLContext::ensure_buffer_bindings(), execute_posetree(), execute_scene(), export_hair_curves(), fb(), fbderiv(), fbstar(), fbstar_jacobi(), blender::gpu::MTLShader::finalize(), iTaSC::Armature::finalize(), blender::array_utils::find_all_ranges(), blender::ed::greasepencil::find_curve_intersections(), blender::nodes::node_fn_format_string_cc::find_format_specifier(), blender::ed::space_node::find_visible_center_of_link(), blender::math::float_to_half_array(), blender::gpu::MTLBufferRange::flush(), blender::gpu::MTLBuffer::flush_range(), blender::math::from_vector(), blender::ed::greasepencil::generate_corner(), generate_nsimage_for_file(), blender::get_build_factor(), get_fcurves_of_property(), get_limit_motor_info2(), blender::geometry::get_permutation(), blender::animrig::get_rna_values(), blender::gpu::MTLTexture::get_storagebuf(), getAngularMotionDisc(), getBoundingSphere(), btGjkPairDetector::getClosestPointsNonVirtual(), Freestyle::ViewEdge::getLength2D(), GPU_indexbuf_create_subrange(), GPU_indexbuf_create_subrange_in_place(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), blender::ed::sculpt_paint::grease_pencil_fill_get_extension_data(), hair_create_input_mesh(), blender::math::half_to_float_array(), handle_app1(), GHOST_SystemCocoa::handleKeyEvent(), hash_shuffle_uint(), IK_SetTransform(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::inflate_result(), blender::gpu::IndexBuf::init_subrange(), initialize2(), blender::ed::transform::InputCustomRatioFlip(), Interface1D_length_2d_get(), blender::gpu::is_apple_sillicon(), blender::math::is_unit(), iterate_lengths_iter(), line_directive(), lineart_sort_adjacent_items(), BlenderPointDensityLoader::load_pixels(), BlenderSmokeLoader::load_pixels(), blender::gpu::MTLPixelBuffer::map(), MOD_solidify_nonmanifold_modifyMesh(), blender::gpu::MTLShader::MTLShader(), 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_detect_mix_mode(), nlaevalchan_get_default_values(), nlaevalchan_snapshot_new(), nlaevalchan_verify_key(), nlastrip_get_frame_transition(), blender::nodes::node_geo_curve_primitive_line_cc::node_declare(), blender::nodes::node_geo_curve_resample_cc::node_declare(), blender::nodes::node_geo_curve_sample_cc::node_declare(), blender::nodes::node_geo_curve_to_points_cc::node_declare(), blender::nodes::node_geo_curve_length_cc::node_geo_exec(), blender::nodes::node_geo_curve_resample_cc::node_geo_exec(), blender::nodes::node_geo_curve_to_points_cc::node_geo_exec(), norm(), Normalize(), normalize(), osl_range_check_err(), blender::ed::sculpt_paint::paint_line_strokes_spacing(), blender::ed::sculpt_paint::paint_space_stroke(), blender::ed::sculpt_paint::paint_space_stroke_spacing_variable(), plane_to_point_vector_v3_normalized(), btSoftColliders::CollideVF_SS::Process(), btConnectivityProcessor::processTriangle(), GJK< btConvexTemplate >::projectorigin(), gjkepa2_impl::GJK::projectorigin(), prop_subscript_ass_array_slice(), prop_subscript_ass_array_slice__as_seq_fast(), prop_subscript_ass_array_slice__bool_recursive(), prop_subscript_ass_array_slice__float_recursive(), prop_subscript_ass_array_slice__int_recursive(), psys_cache_paths(), psys_get_particle_on_path(), psys_hair_use_simulation(), PyC_AsArray(), 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(), pyrna_prop_array_subscript_slice(), Quaternion_rotate(), blender::gpu::MTLVertBuf::read(), btSoftBody::resetLinkRestLengths(), rna_array_lookup_int(), RNA_def_float_matrix(), RNA_def_property_array(), RNA_def_property_boolean_bitset_array_sdna(), rna_def_property_boolean_sdna(), RNA_def_property_collection_funcs(), RNA_def_property_multi_array(), RNA_def_property_string_funcs(), rna_ensure_property_multi_array_length(), rna_iterator_array_begin(), RNA_parameter_dynamic_length_set(), RNA_parameter_dynamic_length_set_data(), RNA_property_array_dimension(), RNA_property_as_string(), rna_property_boolean_get_default_array_values(), RNA_property_collection_length(), RNA_property_float_get_default_array(), rna_property_float_get_default_array_values(), RNA_property_int_get_default_array(), rna_property_int_get_default_array_values(), RNA_property_string_get(), RNA_property_string_get_alloc(), RNA_property_string_get_default_alloc(), blender::nodes::node_geo_curve_sample_cc::sample_indices_and_factors_to_compressed(), scale_point_to_length(), scale_points_to_length(), set_device_override_func(), 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(), similar_edge_select_exec(), blender::ed::greasepencil::snap_8_angles(), blender::ed::greasepencil::snap_diagonals(), spring_grad_dir(), spring_length(), blender::gpu::supports_barycentric_whitelist(), blender::math::tests::TEST(), time_human_readable_to_seconds(), blender::math::to_scale(), blender::math::to_scale(), blender::geometry::trim_sample_length(), blender::nodes::try_dispatch_float_math_fl3_to_fl(), txt_extended_ascii_as_utf8(), txt_sel_to_buf(), ui_but_get_pasted_text_from_clipboard(), unit_as_string_main(), blender::gpu::MTLStorageBuf::update(), blender::bke::greasepencil::update_curve_plane_normal_cache(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_scale_style(), blender::ed::view3d::geometry_nodes_gizmos::LinearGizmo::update_style(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_translate_style(), 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(), long, 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(), long, 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(), blender::ed::transform::axisProjection(), bevel_harden_normals(), bindVert(), bsdf_ashikhmin_shirley_eval(), buildHull(), C_Matrix_OrthoProjection(), C_Matrix_Scale(), btMinkowskiPenetrationDepthSolver::calcPenDepth(), 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(), y(), and z().
| 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(), GeometryExporter::create_normals(), btSoftBodyHelpers::DrawFrame(), libmv::GetR_FixedCameraCenter(), libmv::InvertBrownDistortionModel(), libmv::InvertDivisionDistortionModel(), libmv::InvertPolynomialDistortionModel(), slim::local_basis(), 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, x(), y(), 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 dot(), getSkewSymmetricMatrix(), operator/(), and triple().
| SIMD_FORCE_INLINE const btScalar & y | ( | ) | const |
Return the y value.
Definition at line 577 of file btVector3.h.
References m_floats.
Referenced by dot(), getSkewSymmetricMatrix(), normalize(), operator/(), and triple().
| 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().