Blender V4.3
ClothSpring Struct Reference

#include <BKE_cloth.hh>

Public Attributes

int ij
 
int kl
 
int mn
 
intpa
 
intpb
 
int la
 
int lb
 
float restlen
 
float restang
 
int type
 
int flags
 
float lin_stiffness
 
float ang_stiffness
 
float editrestlen
 
float target [3]
 

Detailed Description

The definition of a spring.

Definition at line 120 of file BKE_cloth.hh.

Member Data Documentation

◆ ang_stiffness

float ClothSpring::ang_stiffness

◆ editrestlen

float ClothSpring::editrestlen

Definition at line 134 of file BKE_cloth.hh.

◆ flags

int ClothSpring::flags

Definition at line 131 of file BKE_cloth.hh.

Referenced by cloth_build_springs(), cloth_calc_force(), and cloth_update_springs().

◆ ij

◆ kl

◆ la

int ClothSpring::la

◆ lb

int ClothSpring::lb

◆ lin_stiffness

float ClothSpring::lin_stiffness

◆ mn

◆ pa

◆ pb

◆ restang

float ClothSpring::restang

◆ restlen

◆ target

float ClothSpring::target[3]

Definition at line 137 of file BKE_cloth.hh.

Referenced by cloth_hair_update_bending_targets().

◆ type


The documentation for this struct was generated from the following file: