Blender  V3.3
Public Attributes | List of all members
ClothSpring Struct Reference

#include <BKE_cloth.h>

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 117 of file BKE_cloth.h.

Member Data Documentation

◆ ang_stiffness

float ClothSpring::ang_stiffness

◆ editrestlen

float ClothSpring::editrestlen

Definition at line 131 of file BKE_cloth.h.

◆ flags

int ClothSpring::flags

◆ ij

int ClothSpring::ij

◆ kl

int ClothSpring::kl

◆ la

int ClothSpring::la

◆ lb

int ClothSpring::lb

◆ lin_stiffness

float ClothSpring::lin_stiffness

◆ mn

int ClothSpring::mn

◆ pa

int* ClothSpring::pa

◆ pb

int* ClothSpring::pb

◆ restang

float ClothSpring::restang

◆ restlen

float ClothSpring::restlen

◆ target

float ClothSpring::target[3]

Definition at line 134 of file BKE_cloth.h.

Referenced by cloth_calc_spring_force(), and cloth_hair_update_bending_targets().

◆ type

int ClothSpring::type

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