# `ExMujoco.Types.Cone`
[🔗](https://github.com/d-led/ex.mujoco/blob/main/lib/ex_mujoco/types/cone.ex#L2)

`mjtCone`, from MuJoCo's headers, as numbers. All 2 values carry a number in the header.

# `t`

```elixir
@type t() :: integer()
```

# `elliptic`

```elixir
@spec elliptic() :: 1
```

mjCONE_ELLIPTIC is 1.

# `pyramidal`

```elixir
@spec pyramidal() :: 0
```

mjCONE_PYRAMIDAL is 0.

# `to_atom`

```elixir
@spec to_atom(integer() | atom()) :: atom() | nil
```

The name behind an integer. An atom is already one.

# `to_integer`

```elixir
@spec to_integer(t() | atom()) :: integer() | nil
```

The integer behind a name. An integer is already one.

# `values`

```elixir
@spec values() :: [{atom(), integer()}]
```

Every value, as `{name, integer}`, in the order the header lists them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
