Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed May 11, 2016
1 parent 0f11a98 commit 9fed3fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions demo/render-webgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ RenderWebGL.prototype.loadData = function(spine_data, atlas_data, images) {
vertex_position[vertex_position_offset++] = position_y;

if (blend_bone_index_array.length > render.gl_skin_shader_modelview_count) {
console.log("blend bone index array length for", attachmentPkey, "is", blend_bone_index_array.length, "greater than", render.gl_skin_shader_modelview_count);
console.log("blend bone index array length for", attachment_key, "is", blend_bone_index_array.length, "greater than", render.gl_skin_shader_modelview_count);
}
}
var gl_vertex = attachment_info.gl_vertex = {};
Expand Down Expand Up @@ -855,10 +855,8 @@ function mat3x3Translate(m, x, y) {
}

function mat3x3RotateCosSin(m, c, s) {
var m0 = m[0],
m1 = m[1];
var m3 = m[3],
m4 = m[4];
var m0 = m[0], m1 = m[1];
var m3 = m[3], m4 = m[4];
m[0] = m0 * c + m3 * s;
m[1] = m1 * c + m4 * s;
m[3] = m3 * c - m0 * s;
Expand Down

0 comments on commit 9fed3fc

Please sign in to comment.