```cs
public class CylinderPrimitive : Primitive
{
public float radius = 1;
public float length = 1;
public Matrix4F transform = Matrix4F.Identity;
}
```
This is the same as [[CylinderPrimitive]] but with rounded caps on either end that extend **outside** the ends of the cylinder, i.e. the real length of this primitive is `length + radius * 2`.
> WARNING: the `transform` matrix should only contain rotation and translation operations, not scale. The size of the capsule should be controlled via the `radius` and `length` properties