support slim model
This commit is contained in:
parent
02840ec6a4
commit
5d55407b46
|
@ -6,6 +6,7 @@ The code was originally created by [Kent Rasmussen](https://github.com/earthiver
|
|||
# Features
|
||||
* 1.8 Skins
|
||||
* Capes
|
||||
* Slim arms
|
||||
|
||||
# Dependencies
|
||||
* [Three.js](https://github.com/mrdoob/three.js/)
|
||||
|
@ -21,13 +22,11 @@ JS
|
|||
```js
|
||||
$(() => {
|
||||
$("#skin_container").skinPreview3D({
|
||||
skinUrl: 'img/Dinnerbone.png',
|
||||
skinUrl: 'img/hatsune_miku.png',
|
||||
capeUrl: 'img/cape.png',
|
||||
slim: true,
|
||||
width: 600,
|
||||
height: 600
|
||||
});
|
||||
});
|
||||
```
|
||||
|
||||
# TODOs
|
||||
* Alex support (Slim arms).
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>SkinPreview3D</title>
|
||||
<title>skinpreview3d.js</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -14,8 +14,9 @@
|
|||
<script>
|
||||
$(function() {
|
||||
$("#skin_container").skinPreview3D({
|
||||
skinUrl: 'img/Dinnerbone.png',
|
||||
skinUrl: 'img/hatsune_miku.png',
|
||||
capeUrl: 'img/cape.png',
|
||||
slim: true,
|
||||
width: 600,
|
||||
height: 600
|
||||
});
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
BIN
img/Hacksore.png
BIN
img/Hacksore.png
Binary file not shown.
Before Width: | Height: | Size: 689 B |
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue