{"size": 2493, "ext": "js", "max_stars_repo_path": "lib/es6_global/src/service/record/all/material/light/OperateTypeArrayLightMaterialService.js", "max_stars_repo_name": "phlahut/Wonder.js", "max_stars_repo_stars_event_min_datetime": "2019-03-12T05:49:46.000Z", "max_stars_repo_stars_event_max_datetime": "2019-03-12T05:49:46.000Z", "max_issues_repo_path": "lib/es6_global/src/service/record/all/material/light/OperateTypeArrayLightMaterialService.js", "max_issues_repo_name": "phlahut/Wonder.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/es6_global/src/service/record/all/material/light/OperateTypeArrayLightMaterialService.js", "max_forks_repo_name": "phlahut/Wonder.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 37.2089552239, "max_line_length": 129, "alphanum_fraction": 0.8251103089}


import * as TypeArrayService$Wonderjs from "../../../../primitive/buffer/TypeArrayService.js";
import * as BufferLightMaterialService$Wonderjs from "./BufferLightMaterialService.js";
import * as OperateTypeArrayMaterialService$Wonderjs from "../OperateTypeArrayMaterialService.js";

function getDiffuseColor(index, typeArr) {
  return TypeArrayService$Wonderjs.getFloat3(BufferLightMaterialService$Wonderjs.getDiffuseColorIndex(index), typeArr);
}

function setDiffuseColor(index, data, typeArr) {
  return TypeArrayService$Wonderjs.setFloat3(BufferLightMaterialService$Wonderjs.getDiffuseColorIndex(index), data, typeArr);
}

function getSpecularColor(index, typeArr) {
  return TypeArrayService$Wonderjs.getFloat3(BufferLightMaterialService$Wonderjs.getSpecularColorIndex(index), typeArr);
}

function setSpecularColor(index, data, typeArr) {
  return TypeArrayService$Wonderjs.setFloat3(BufferLightMaterialService$Wonderjs.getSpecularColorIndex(index), data, typeArr);
}

function getShininess(index, typeArr) {
  return TypeArrayService$Wonderjs.getFloat1(BufferLightMaterialService$Wonderjs.getShininessIndex(index), typeArr);
}

function setShininess(index, data, typeArr) {
  return TypeArrayService$Wonderjs.setFloat1(BufferLightMaterialService$Wonderjs.getShininessIndex(index), data, typeArr);
}

var setTextureIndex = OperateTypeArrayMaterialService$Wonderjs.setTextureIndex;

function getDiffuseMapUnit(index, typeArr) {
  return TypeArrayService$Wonderjs.getUint8_1(BufferLightMaterialService$Wonderjs.getDiffuseMapUnitIndex(index), typeArr);
}

function setDiffuseMapUnit(index, data, typeArr) {
  return TypeArrayService$Wonderjs.setUint8_1(BufferLightMaterialService$Wonderjs.getDiffuseMapUnitIndex(index), data, typeArr);
}

function getSpecularMapUnit(index, typeArr) {
  return TypeArrayService$Wonderjs.getUint8_1(BufferLightMaterialService$Wonderjs.getSpecularMapUnitIndex(index), typeArr);
}

function setSpecularMapUnit(index, data, typeArr) {
  return TypeArrayService$Wonderjs.setUint8_1(BufferLightMaterialService$Wonderjs.getSpecularMapUnitIndex(index), data, typeArr);
}

var getTextureIndex = OperateTypeArrayMaterialService$Wonderjs.getTextureIndex;

export {
  getDiffuseColor ,
  setDiffuseColor ,
  getSpecularColor ,
  setSpecularColor ,
  getShininess ,
  setShininess ,
  getTextureIndex ,
  setTextureIndex ,
  getDiffuseMapUnit ,
  setDiffuseMapUnit ,
  getSpecularMapUnit ,
  setSpecularMapUnit ,
  
}
/* TypeArrayService-Wonderjs Not a pure module */
