---
title: "vec3f64: type in the TypeShade language reference"
description: "vec3f64, a type in the TypeShade language reference. A three-component vector of f64."
url: https://typeshade.dev/reference/types/vec3f64/
language: en
---

# `vec3f64`

Type

A three-component vector of `f64`.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
interface vec3f64 {
  readonly [vec64Tag]: 3
  0: f64
  1: f64
  2: f64
  x: f64
  y: f64
  z: f64
  r: f64
  g: f64
  b: f64
  …
}
```

The `…` line stands for 234 more members, the swizzles. A swizzle reads two to four components as a new vector of the same element type. The components come in any order and may repeat, and their letters come from one set, `xyzw` or `rgba`.

## See also

- [Types](https://typeshade.dev/reference/types/)
- [`vec3f64()` in `typeshade/core/ir`](https://typeshade.dev/api/vec3f64/)
