Ejemplo n.º 1
0
 public Node(
     String name, Vector3f pos, Vector3f scale, Quat4f rot, List<Node<?>> nodes, K kind) {
   this.name = name;
   this.pos = pos;
   this.scale = scale;
   this.rot = rot;
   this.nodes = buildNodeMap(nodes);
   this.kind = kind;
   kind.setParent(this);
   for (Node<?> child : this.nodes.values()) {
     child.setParent(this);
   }
 }