S&box Wiki

Rotation.RotateAroundAxis

Syntax

Rotation RotateAroundAxis( Vector3 axis, float degrees )

Description

A convenience function that rotates this rotation around a given axis given amount of degrees

Arguments

Vector3 axis
float degrees

Returns