Blender V4.5
ClothSpring Struct Reference

#include <BKE_cloth.hh>

Public Attributes

int ij
 
int kl
 
int mn
 
int * pa
 
int * pb
 
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

◆ ij

◆ kl

◆ la

◆ 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_calc_spring_force(), and cloth_hair_update_bending_targets().

◆ type


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