realsee-five-plugin-minicompass

指南针组件


Keywords
five, mini, compass, plugin
License
ISC
Install
npm install realsee-five-plugin-minicompass@0.1.12

Documentation

Realsee Five Plugin - MiniCompassPlugin

指南针组件

const northRad = (((orientation ? orientation : 180) + 90) / 180) * Math.PI;
modelMiniCompass?.appendTo(ref.current as HTMLElement, northRad);