npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@xatali/primateextend

v1.0.4

Published

引擎功能的拓展模块,非核心模块处于此部分。

Downloads

2

Readme

PrimateExtend

介绍

引擎功能的拓展模块,非核心模块处于此部分。

使用说明

  1. node环境中使用

    npm install @xatali/primateextend
  2. 浏览器环境中使用

  • 加载所有。
<script src="https://file.primate3d.com/release/primateExtend/[email protected]" CHARSET="UTF-8"></script>
  • 按需加载。
   <script src="https://file.primate3d.com/release/primateExtend/attackEarth/[email protected]" CHARSET="UTF-8"></script>

如上示例,为加载地球模块。其中@1.0.0为版本号,attackEarth为模块名称,加载其它模块的方式完全相同,只要替换模块名称即可。

加载完成后将会在PRIMATE命名空间下新增对象AttackEarth(模块名称的首字母大写)来实现其功能。每种模块使用方式有所不同,具体参考开发文档。

  • 模块列表

    • attackEarth

      地球模块,用于创建一个地球。

    • cubeViewport

      左上角方位指示小插件,用于创建一个指向。

    • gioEarth

    地球模块,不同样式。

    • measureModule

    测量模块,具备测距,测量面积,测量角度等功能。

    • mirror

    镜面反射,用于创建一个镜子

    • model3DSLoader

    用于加载3ds格式模型。

    • model3MFLoader

    用于加载3mf格式模型。

    • modelAssimpLoader

    用于加载Assimp格式模型

    • performancePanel

    性能监测面板,用于监视页面的刷新帧率。

    • physicalRoam

    漫游功能,具备物理碰撞,比较耗费性能。

    • socketJSSupport

    SockJS的封装,内置了任务队列,失败重连,等机制。

    • workerCanvasSupport

    多线程canvas的渲染支持,内置了线程更新,创建canvas画布,及更新节流等功能。

版本说明

  1. 2021.11.10日发布1.0.0版本。将原Graphics3DEngine工程中的迁移至此工程,并完善打包发布等脚本。

  2. 2021.11.11日发布1.0.1版本。增加指南针功能。

  3. 2021.11.13日发布1.0.2版本。增加node引入。

  4. 2021.11.13日发布1.0.3版本。增加 type 提示。

  5. 2021.11.16日发布1.0.4版本。

    增加可视域模拟,及小场景经纬度和三维坐标的互相转化。