Fix function visibility
This commit is contained in:
parent
bc30f193e7
commit
499e5cfeae
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use funs::exp::*;
|
|||
use funs::trig::*;
|
||||
use matrix::Mat4;
|
||||
|
||||
fn mat4_from_rotation<T:Copy Num NumCast Exp Trig>(axis: Vec3<T>, angle: T) -> Mat4<T> {
|
||||
pub fn mat4_from_rotation<T:Copy Num NumCast Exp Trig>(angle: T, axis: Vec3<T>) -> Mat4<T> {
|
||||
let angle_rad = radians(&angle);
|
||||
let c = cos(&angle_rad);
|
||||
let s = sin(&angle_rad);
|
||||
|
|
Loading…
Reference in a new issue