---
title: "vec3f64(): IR builder function in typeshade/core/ir"
description: "vec3f64, an IR builder function in typeshade/core/ir. An emulated-double vec3<f64> constructor, the three-component sibling of vec2f64…"
url: https://typeshade.dev/api/vec3f64/
language: en
---

# `vec3f64()`

Function in Builtins

An emulated-double `vec3<f64>` constructor, the three-component sibling of `vec2f64`; that entry has the splat, split and widen rules every vecNf64 constructor shares.

`import { vec3f64 } from 'typeshade/core/ir'`

This export returns an IR node. A `"use typeshade"` file calls the builtin itself: [`vec3f64()`](https://typeshade.dev/reference/functions/vec3f64/)

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const vec3f64: (...a: Vec64Arg[]) => Node<"vec3<f64>">
```

## Parameters

**`...a` `Vec64Arg[]`**

## Return value

`Node<'vec3<f64>'>`

## Examples

### Example

```ts
import { vec3f64 } from 'typeshade/core/ir'

const p = vec3f64(1e8 + 0.5, 2, 3)  // Node<'vec3<f64>'>
```

## In the guide

- [fp64](https://typeshade.dev/guide/internals/fp64/)

## See also

- [`vec3f64()`](https://typeshade.dev/reference/functions/vec3f64/)
- [`vec2f64`](https://typeshade.dev/api/vec2f64/)

## Source

[`src/core/ir/node.ts`, line 2362](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L2362), at commit af54ddad5
