|
@ -1,9 +1,17 @@ |
|
|
import React from 'react'; |
|
|
import React from 'react'; |
|
|
import './App.css'; |
|
|
import './App.css'; |
|
|
|
|
|
|
|
|
|
|
|
import { vec3, vec4 } from "./render/math" |
|
|
|
|
|
|
|
|
function App() { |
|
|
function App() { |
|
|
|
|
|
|
|
|
|
|
|
let a: vec3 = new vec3([1, 1, 1]); |
|
|
|
|
|
let b: vec3 = new vec3([3, 2, 1]); |
|
|
|
|
|
let c: vec3 = new vec3([2, 3, 1]); |
|
|
|
|
|
let d: vec3 = new vec3([1, 2, 3]); |
|
|
|
|
|
|
|
|
|
|
|
let ab: vec3 = vec3.difference(b, a); |
|
|
|
|
|
|
|
|
|
|
|
ab.print(); |
|
|
return ( |
|
|
return ( |
|
|
<div className="App"> |
|
|
<div className="App"> |
|
|
sasa |
|
|
sasa |
|
|